HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/RunImportRequest HTTP/1.1
Host: s1-api.fource.nl
Content-Type: application/xml
Content-Length: length
<RunImportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.DigitaleChauffeur.ApiService">
<ActualEndDateTime>0001-01-01T00:00:00</ActualEndDateTime>
<ActualStartDateTime>0001-01-01T00:00:00</ActualStartDateTime>
<Driver>String</Driver>
<EndMileage>0</EndMileage>
<LicensePlate>String</LicensePlate>
<PlannedEndDateTime>0001-01-01T00:00:00</PlannedEndDateTime>
<PlannedStartDateTime>0001-01-01T00:00:00</PlannedStartDateTime>
<RouteReference>String</RouteReference>
<Site>String</Site>
<StartMileage>0</StartMileage>
<Stops>
<RunStop>
<EndDateTime>0001-01-01T00:00:00</EndDateTime>
<GpsLatitude>0</GpsLatitude>
<GpsLongitude>0</GpsLongitude>
<IsExecuted>false</IsExecuted>
<Items>
<StopItem>
<ExecutionDateTime>0001-01-01T00:00:00</ExecutionDateTime>
<IsExecuted>false</IsExecuted>
<OrderReference>String</OrderReference>
<SelectionMethod>String</SelectionMethod>
<Type>String</Type>
</StopItem>
</Items>
<PlannedTimeOfArrival>0001-01-01T00:00:00</PlannedTimeOfArrival>
<Sequence>0</Sequence>
<Signature>String</Signature>
<StartDateTime>0001-01-01T00:00:00</StartDateTime>
</RunStop>
</Stops>
</RunImportRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<RunImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.DigitaleChauffeur.ApiService">
<ResponseCode>0</ResponseCode>
<ResponseMessage>String</ResponseMessage>
</RunImportResponse>