LogProService
Click here for a complete list of operations.
ExecuteHarvesterEvent_5_0
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/ExecuteHarvesterEvent_5_0"
<?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>
<ExecuteHarvesterEvent_5_0 xmlns="http://LogProService.piimega.fi/">
<sUserName>string</sUserName>
<sPassword>string</sPassword>
<contractNumber>string</contractNumber>
<standNumber>string</standNumber>
<iKuvioID>int</iKuvioID>
<iMachineryID>int</iMachineryID>
<eEventType>Start or Complete or Cancel</eEventType>
<oDate>dateTime</oDate>
<oRouteData>
<DrivenRoute>
<StandID>int</StandID>
<WorkInstructionID>int</WorkInstructionID>
<MachineryID>int</MachineryID>
<WarehouseID>int</WarehouseID>
<DestinationID>int</DestinationID>
<QuantityNoticeID>int</QuantityNoticeID>
<Distance>decimal</Distance>
<MachineryIdentification>string</MachineryIdentification>
<MachineryDescription>string</MachineryDescription>
<RouteType>Truck or Harvester or Forwarder</RouteType>
<Points>
<CoordinatePoint xsi:nil="true" />
<CoordinatePoint xsi:nil="true" />
</Points>
<ConvertCoordinates>boolean</ConvertCoordinates>
<IsBackup>boolean</IsBackup>
</DrivenRoute>
<DrivenRoute>
<StandID>int</StandID>
<WorkInstructionID>int</WorkInstructionID>
<MachineryID>int</MachineryID>
<WarehouseID>int</WarehouseID>
<DestinationID>int</DestinationID>
<QuantityNoticeID>int</QuantityNoticeID>
<Distance>decimal</Distance>
<MachineryIdentification>string</MachineryIdentification>
<MachineryDescription>string</MachineryDescription>
<RouteType>Truck or Harvester or Forwarder</RouteType>
<Points>
<CoordinatePoint xsi:nil="true" />
<CoordinatePoint xsi:nil="true" />
</Points>
<ConvertCoordinates>boolean</ConvertCoordinates>
<IsBackup>boolean</IsBackup>
</DrivenRoute>
</oRouteData>
<clientCulture>string</clientCulture>
<clientParams>
<ClientVersion>string</ClientVersion>
<ContractorID>int</ContractorID>
<Contractor>string</Contractor>
<ContractorEmail>string</ContractorEmail>
<CustomerName>string</CustomerName>
<UUID>string</UUID>
<HWHash>string</HWHash>
<ProcessorID>string</ProcessorID>
<MotherboardID>string</MotherboardID>
<MacAddress>string</MacAddress>
<IdentifyingNumber>string</IdentifyingNumber>
<MachineryID>int</MachineryID>
<MachineryName>string</MachineryName>
<MachineryRegNumber>string</MachineryRegNumber>
<WorkstationName>string</WorkstationName>
<AppType>int</AppType>
<UserRole>short</UserRole>
<MachineGuid>string</MachineGuid>
<HDSerialNumber>string</HDSerialNumber>
<OperatingSystem>string</OperatingSystem>
</clientParams>
</ExecuteHarvesterEvent_5_0>
</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>
<ExecuteHarvesterEvent_5_0Response xmlns="http://LogProService.piimega.fi/">
<ExecuteHarvesterEvent_5_0Result>
<Virhesanoma>string</Virhesanoma>
<TiedostoPalaute>
<VirheViesti>string</VirheViesti>
<PRDPalaute>string</PRDPalaute>
<KTRPalaute>string</KTRPalaute>
<APTPalaute>string</APTPalaute>
<STMPalaute>string</STMPalaute>
<AdditionalWorkFeedBack>
<ContractorAdditionalWorkNotice xsi:nil="true" />
<ContractorAdditionalWorkNotice xsi:nil="true" />
</AdditionalWorkFeedBack>
</TiedostoPalaute>
</ExecuteHarvesterEvent_5_0Result>
</ExecuteHarvesterEvent_5_0Response>
</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>
<ExecuteHarvesterEvent_5_0 xmlns="http://LogProService.piimega.fi/">
<sUserName>string</sUserName>
<sPassword>string</sPassword>
<contractNumber>string</contractNumber>
<standNumber>string</standNumber>
<iKuvioID>int</iKuvioID>
<iMachineryID>int</iMachineryID>
<eEventType>Start or Complete or Cancel</eEventType>
<oDate>dateTime</oDate>
<oRouteData>
<DrivenRoute>
<StandID>int</StandID>
<WorkInstructionID>int</WorkInstructionID>
<MachineryID>int</MachineryID>
<WarehouseID>int</WarehouseID>
<DestinationID>int</DestinationID>
<QuantityNoticeID>int</QuantityNoticeID>
<Distance>decimal</Distance>
<MachineryIdentification>string</MachineryIdentification>
<MachineryDescription>string</MachineryDescription>
<RouteType>Truck or Harvester or Forwarder</RouteType>
<Points>
<CoordinatePoint xsi:nil="true" />
<CoordinatePoint xsi:nil="true" />
</Points>
<ConvertCoordinates>boolean</ConvertCoordinates>
<IsBackup>boolean</IsBackup>
</DrivenRoute>
<DrivenRoute>
<StandID>int</StandID>
<WorkInstructionID>int</WorkInstructionID>
<MachineryID>int</MachineryID>
<WarehouseID>int</WarehouseID>
<DestinationID>int</DestinationID>
<QuantityNoticeID>int</QuantityNoticeID>
<Distance>decimal</Distance>
<MachineryIdentification>string</MachineryIdentification>
<MachineryDescription>string</MachineryDescription>
<RouteType>Truck or Harvester or Forwarder</RouteType>
<Points>
<CoordinatePoint xsi:nil="true" />
<CoordinatePoint xsi:nil="true" />
</Points>
<ConvertCoordinates>boolean</ConvertCoordinates>
<IsBackup>boolean</IsBackup>
</DrivenRoute>
</oRouteData>
<clientCulture>string</clientCulture>
<clientParams>
<ClientVersion>string</ClientVersion>
<ContractorID>int</ContractorID>
<Contractor>string</Contractor>
<ContractorEmail>string</ContractorEmail>
<CustomerName>string</CustomerName>
<UUID>string</UUID>
<HWHash>string</HWHash>
<ProcessorID>string</ProcessorID>
<MotherboardID>string</MotherboardID>
<MacAddress>string</MacAddress>
<IdentifyingNumber>string</IdentifyingNumber>
<MachineryID>int</MachineryID>
<MachineryName>string</MachineryName>
<MachineryRegNumber>string</MachineryRegNumber>
<WorkstationName>string</WorkstationName>
<AppType>int</AppType>
<UserRole>short</UserRole>
<MachineGuid>string</MachineGuid>
<HDSerialNumber>string</HDSerialNumber>
<OperatingSystem>string</OperatingSystem>
</clientParams>
</ExecuteHarvesterEvent_5_0>
</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>
<ExecuteHarvesterEvent_5_0Response xmlns="http://LogProService.piimega.fi/">
<ExecuteHarvesterEvent_5_0Result>
<Virhesanoma>string</Virhesanoma>
<TiedostoPalaute>
<VirheViesti>string</VirheViesti>
<PRDPalaute>string</PRDPalaute>
<KTRPalaute>string</KTRPalaute>
<APTPalaute>string</APTPalaute>
<STMPalaute>string</STMPalaute>
<AdditionalWorkFeedBack>
<ContractorAdditionalWorkNotice xsi:nil="true" />
<ContractorAdditionalWorkNotice xsi:nil="true" />
</AdditionalWorkFeedBack>
</TiedostoPalaute>
</ExecuteHarvesterEvent_5_0Result>
</ExecuteHarvesterEvent_5_0Response>
</soap12:Body>
</soap12:Envelope>