LogProService


Click here for a complete list of operations.

GetForwardingRows_WithHPR

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /LogProService.asmx HTTP/1.1
Host: logpromhypirkanmaa.piimega.fi
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://LogProService.piimega.fi/GetForwardingRows_WithHPR"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetForwardingRows_WithHPR xmlns="http://LogProService.piimega.fi/">
      <sUser>string</sUser>
      <sPass>string</sPass>
      <iContractorID>int</iContractorID>
      <iContractID>int</iContractID>
      <iWorkInstructionID>int</iWorkInstructionID>
      <iKuvioID>int</iKuvioID>
      <iWarehouseID>int</iWarehouseID>
      <clientCulture>string</clientCulture>
      <checkLogin>boolean</checkLogin>
    </GetForwardingRows_WithHPR>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetForwardingRows_WithHPRResponse xmlns="http://LogProService.piimega.fi/">
      <GetForwardingRows_WithHPRResult>
        <WorkInstructionRows>
          <ForwarderWorkInstruction>
            <ID>int</ID>
            <AssortmentID>int</AssortmentID>
            <TreeSpeciesID>int</TreeSpeciesID>
            <Code>string</Code>
            <TreeSpecies>string</TreeSpecies>
            <ShortName>string</ShortName>
            <LongName>string</LongName>
            <SecondaryMeasurementUnitID>int</SecondaryMeasurementUnitID>
            <MeasurementUnitFactor>decimal</MeasurementUnitFactor>
            <HarvestingDate>dateTime</HarvestingDate>
            <Quantity>decimal</Quantity>
            <StandQuantity>decimal</StandQuantity>
            <Maarapaikka xsi:nil="true" />
            <TransportationQuantity>decimal</TransportationQuantity>
            <QuantityMethod>M3 or Ton</QuantityMethod>
            <AddedFromLogPro>boolean</AddedFromLogPro>
            <IsPrdQuantity>boolean</IsPrdQuantity>
            <PRDQuantity>decimal</PRDQuantity>
            <WorkInstructionID>int</WorkInstructionID>
            <MeasurementMethod>int</MeasurementMethod>
            <SpeciesGroupUserID>string</SpeciesGroupUserID>
            <StemTypeCode>string</StemTypeCode>
            <HPRQuantity>decimal</HPRQuantity>
          </ForwarderWorkInstruction>
          <ForwarderWorkInstruction>
            <ID>int</ID>
            <AssortmentID>int</AssortmentID>
            <TreeSpeciesID>int</TreeSpeciesID>
            <Code>string</Code>
            <TreeSpecies>string</TreeSpecies>
            <ShortName>string</ShortName>
            <LongName>string</LongName>
            <SecondaryMeasurementUnitID>int</SecondaryMeasurementUnitID>
            <MeasurementUnitFactor>decimal</MeasurementUnitFactor>
            <HarvestingDate>dateTime</HarvestingDate>
            <Quantity>decimal</Quantity>
            <StandQuantity>decimal</StandQuantity>
            <Maarapaikka xsi:nil="true" />
            <TransportationQuantity>decimal</TransportationQuantity>
            <QuantityMethod>M3 or Ton</QuantityMethod>
            <AddedFromLogPro>boolean</AddedFromLogPro>
            <IsPrdQuantity>boolean</IsPrdQuantity>
            <PRDQuantity>decimal</PRDQuantity>
            <WorkInstructionID>int</WorkInstructionID>
            <MeasurementMethod>int</MeasurementMethod>
            <SpeciesGroupUserID>string</SpeciesGroupUserID>
            <StemTypeCode>string</StemTypeCode>
            <HPRQuantity>decimal</HPRQuantity>
          </ForwarderWorkInstruction>
        </WorkInstructionRows>
        <PRDStatus>NoPRD or OnGoingPRD or FinalPRD</PRDStatus>
        <HPRStatus>NoHPR or OnGoingHPR or FinalHPR</HPRStatus>
      </GetForwardingRows_WithHPRResult>
    </GetForwardingRows_WithHPRResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /LogProService.asmx HTTP/1.1
Host: logpromhypirkanmaa.piimega.fi
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetForwardingRows_WithHPR xmlns="http://LogProService.piimega.fi/">
      <sUser>string</sUser>
      <sPass>string</sPass>
      <iContractorID>int</iContractorID>
      <iContractID>int</iContractID>
      <iWorkInstructionID>int</iWorkInstructionID>
      <iKuvioID>int</iKuvioID>
      <iWarehouseID>int</iWarehouseID>
      <clientCulture>string</clientCulture>
      <checkLogin>boolean</checkLogin>
    </GetForwardingRows_WithHPR>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetForwardingRows_WithHPRResponse xmlns="http://LogProService.piimega.fi/">
      <GetForwardingRows_WithHPRResult>
        <WorkInstructionRows>
          <ForwarderWorkInstruction>
            <ID>int</ID>
            <AssortmentID>int</AssortmentID>
            <TreeSpeciesID>int</TreeSpeciesID>
            <Code>string</Code>
            <TreeSpecies>string</TreeSpecies>
            <ShortName>string</ShortName>
            <LongName>string</LongName>
            <SecondaryMeasurementUnitID>int</SecondaryMeasurementUnitID>
            <MeasurementUnitFactor>decimal</MeasurementUnitFactor>
            <HarvestingDate>dateTime</HarvestingDate>
            <Quantity>decimal</Quantity>
            <StandQuantity>decimal</StandQuantity>
            <Maarapaikka xsi:nil="true" />
            <TransportationQuantity>decimal</TransportationQuantity>
            <QuantityMethod>M3 or Ton</QuantityMethod>
            <AddedFromLogPro>boolean</AddedFromLogPro>
            <IsPrdQuantity>boolean</IsPrdQuantity>
            <PRDQuantity>decimal</PRDQuantity>
            <WorkInstructionID>int</WorkInstructionID>
            <MeasurementMethod>int</MeasurementMethod>
            <SpeciesGroupUserID>string</SpeciesGroupUserID>
            <StemTypeCode>string</StemTypeCode>
            <HPRQuantity>decimal</HPRQuantity>
          </ForwarderWorkInstruction>
          <ForwarderWorkInstruction>
            <ID>int</ID>
            <AssortmentID>int</AssortmentID>
            <TreeSpeciesID>int</TreeSpeciesID>
            <Code>string</Code>
            <TreeSpecies>string</TreeSpecies>
            <ShortName>string</ShortName>
            <LongName>string</LongName>
            <SecondaryMeasurementUnitID>int</SecondaryMeasurementUnitID>
            <MeasurementUnitFactor>decimal</MeasurementUnitFactor>
            <HarvestingDate>dateTime</HarvestingDate>
            <Quantity>decimal</Quantity>
            <StandQuantity>decimal</StandQuantity>
            <Maarapaikka xsi:nil="true" />
            <TransportationQuantity>decimal</TransportationQuantity>
            <QuantityMethod>M3 or Ton</QuantityMethod>
            <AddedFromLogPro>boolean</AddedFromLogPro>
            <IsPrdQuantity>boolean</IsPrdQuantity>
            <PRDQuantity>decimal</PRDQuantity>
            <WorkInstructionID>int</WorkInstructionID>
            <MeasurementMethod>int</MeasurementMethod>
            <SpeciesGroupUserID>string</SpeciesGroupUserID>
            <StemTypeCode>string</StemTypeCode>
            <HPRQuantity>decimal</HPRQuantity>
          </ForwarderWorkInstruction>
        </WorkInstructionRows>
        <PRDStatus>NoPRD or OnGoingPRD or FinalPRD</PRDStatus>
        <HPRStatus>NoHPR or OnGoingHPR or FinalHPR</HPRStatus>
      </GetForwardingRows_WithHPRResult>
    </GetForwardingRows_WithHPRResponse>
  </soap12:Body>
</soap12:Envelope>