LogProService
Click here for a complete list of operations.
SynchronizeDriveDiaryChanges
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/SynchronizeDriveDiaryChanges"
<?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>
<SynchronizeDriveDiaryChanges xmlns="http://LogProService.piimega.fi/">
<user>string</user>
<pass>string</pass>
<clientCulture>string</clientCulture>
<events>
<DriveDiaryEvent>
<AutoKuormaID>int</AutoKuormaID>
<QuantityNoticeID>int</QuantityNoticeID>
<EnergyLoadID>int</EnergyLoadID>
<ContractorID>int</ContractorID>
<MachineryID>int</MachineryID>
<SyncType>NotDefined or LoadRemoved or VoucherNumberChanged or LoadAdditionalInfoChanged or LoadTrainChanged or DistanceChanged or AssortmentAdded or AssortmentRemoved or AssortmentQuantityChanged or AssortmentAdditionalInfoChanged or AssortmentTrainCarriageChanged or AssortmentRoundTripBitChanged or AssortmentDriveEndsBitChanged or TrainCarriageAdded or EmptyDistanceChanged or AssortmentChippingBitChanged or AssortmentEndProductChanged or ChippingContractorChanged or LoadBookNoChanged or LoadNetWeightChanged or LoadEmptyWeightChanged</SyncType>
<ErrorMessage>string</ErrorMessage>
<HWID>string</HWID>
</DriveDiaryEvent>
<DriveDiaryEvent>
<AutoKuormaID>int</AutoKuormaID>
<QuantityNoticeID>int</QuantityNoticeID>
<EnergyLoadID>int</EnergyLoadID>
<ContractorID>int</ContractorID>
<MachineryID>int</MachineryID>
<SyncType>NotDefined or LoadRemoved or VoucherNumberChanged or LoadAdditionalInfoChanged or LoadTrainChanged or DistanceChanged or AssortmentAdded or AssortmentRemoved or AssortmentQuantityChanged or AssortmentAdditionalInfoChanged or AssortmentTrainCarriageChanged or AssortmentRoundTripBitChanged or AssortmentDriveEndsBitChanged or TrainCarriageAdded or EmptyDistanceChanged or AssortmentChippingBitChanged or AssortmentEndProductChanged or ChippingContractorChanged or LoadBookNoChanged or LoadNetWeightChanged or LoadEmptyWeightChanged</SyncType>
<ErrorMessage>string</ErrorMessage>
<HWID>string</HWID>
</DriveDiaryEvent>
</events>
<filter>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<MachineryID>
<int>int</int>
<int>int</int>
</MachineryID>
<ContractID>
<int>int</int>
<int>int</int>
</ContractID>
<TrainID>
<int>int</int>
<int>int</int>
</TrainID>
<TrainCarriageID>
<int>int</int>
<int>int</int>
</TrainCarriageID>
<SellerID>
<int>int</int>
<int>int</int>
</SellerID>
<AssortmentID>
<int>int</int>
<int>int</int>
</AssortmentID>
<WarehouseID>
<int>int</int>
<int>int</int>
</WarehouseID>
<DestinationID>
<int>int</int>
<int>int</int>
</DestinationID>
<VoucherNumber>
<string>string</string>
<string>string</string>
</VoucherNumber>
<LoadID>
<int>int</int>
<int>int</int>
</LoadID>
<WoodPurchaserID>
<int>int</int>
<int>int</int>
</WoodPurchaserID>
<OnlyRoundTrip>boolean</OnlyRoundTrip>
<RoundTripID>
<int>int</int>
<int>int</int>
</RoundTripID>
</filter>
</SynchronizeDriveDiaryChanges>
</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>
<SynchronizeDriveDiaryChangesResponse xmlns="http://LogProService.piimega.fi/">
<SynchronizeDriveDiaryChangesResult>
<DriveDiaryLoads>
<DriveDiaryLoad>
<Rows xsi:nil="true" />
</DriveDiaryLoad>
<DriveDiaryLoad>
<Rows xsi:nil="true" />
</DriveDiaryLoad>
</DriveDiaryLoads>
</SynchronizeDriveDiaryChangesResult>
</SynchronizeDriveDiaryChangesResponse>
</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>
<SynchronizeDriveDiaryChanges xmlns="http://LogProService.piimega.fi/">
<user>string</user>
<pass>string</pass>
<clientCulture>string</clientCulture>
<events>
<DriveDiaryEvent>
<AutoKuormaID>int</AutoKuormaID>
<QuantityNoticeID>int</QuantityNoticeID>
<EnergyLoadID>int</EnergyLoadID>
<ContractorID>int</ContractorID>
<MachineryID>int</MachineryID>
<SyncType>NotDefined or LoadRemoved or VoucherNumberChanged or LoadAdditionalInfoChanged or LoadTrainChanged or DistanceChanged or AssortmentAdded or AssortmentRemoved or AssortmentQuantityChanged or AssortmentAdditionalInfoChanged or AssortmentTrainCarriageChanged or AssortmentRoundTripBitChanged or AssortmentDriveEndsBitChanged or TrainCarriageAdded or EmptyDistanceChanged or AssortmentChippingBitChanged or AssortmentEndProductChanged or ChippingContractorChanged or LoadBookNoChanged or LoadNetWeightChanged or LoadEmptyWeightChanged</SyncType>
<ErrorMessage>string</ErrorMessage>
<HWID>string</HWID>
</DriveDiaryEvent>
<DriveDiaryEvent>
<AutoKuormaID>int</AutoKuormaID>
<QuantityNoticeID>int</QuantityNoticeID>
<EnergyLoadID>int</EnergyLoadID>
<ContractorID>int</ContractorID>
<MachineryID>int</MachineryID>
<SyncType>NotDefined or LoadRemoved or VoucherNumberChanged or LoadAdditionalInfoChanged or LoadTrainChanged or DistanceChanged or AssortmentAdded or AssortmentRemoved or AssortmentQuantityChanged or AssortmentAdditionalInfoChanged or AssortmentTrainCarriageChanged or AssortmentRoundTripBitChanged or AssortmentDriveEndsBitChanged or TrainCarriageAdded or EmptyDistanceChanged or AssortmentChippingBitChanged or AssortmentEndProductChanged or ChippingContractorChanged or LoadBookNoChanged or LoadNetWeightChanged or LoadEmptyWeightChanged</SyncType>
<ErrorMessage>string</ErrorMessage>
<HWID>string</HWID>
</DriveDiaryEvent>
</events>
<filter>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<MachineryID>
<int>int</int>
<int>int</int>
</MachineryID>
<ContractID>
<int>int</int>
<int>int</int>
</ContractID>
<TrainID>
<int>int</int>
<int>int</int>
</TrainID>
<TrainCarriageID>
<int>int</int>
<int>int</int>
</TrainCarriageID>
<SellerID>
<int>int</int>
<int>int</int>
</SellerID>
<AssortmentID>
<int>int</int>
<int>int</int>
</AssortmentID>
<WarehouseID>
<int>int</int>
<int>int</int>
</WarehouseID>
<DestinationID>
<int>int</int>
<int>int</int>
</DestinationID>
<VoucherNumber>
<string>string</string>
<string>string</string>
</VoucherNumber>
<LoadID>
<int>int</int>
<int>int</int>
</LoadID>
<WoodPurchaserID>
<int>int</int>
<int>int</int>
</WoodPurchaserID>
<OnlyRoundTrip>boolean</OnlyRoundTrip>
<RoundTripID>
<int>int</int>
<int>int</int>
</RoundTripID>
</filter>
</SynchronizeDriveDiaryChanges>
</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>
<SynchronizeDriveDiaryChangesResponse xmlns="http://LogProService.piimega.fi/">
<SynchronizeDriveDiaryChangesResult>
<DriveDiaryLoads>
<DriveDiaryLoad>
<Rows xsi:nil="true" />
</DriveDiaryLoad>
<DriveDiaryLoad>
<Rows xsi:nil="true" />
</DriveDiaryLoad>
</DriveDiaryLoads>
</SynchronizeDriveDiaryChangesResult>
</SynchronizeDriveDiaryChangesResponse>
</soap12:Body>
</soap12:Envelope>