HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: 185.179.20.77
Content-Type: text/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>
<IntegrationImportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ns.spiritdata.co.uk/ApplicationServer/types">
<ManifestImport>
<Id>String</Id>
<Manifests>
<Manifest>
<AssignedUser>String</AssignedUser>
<AssignedVehicleRegistration>String</AssignedVehicleRegistration>
<Drops>
<Drop>
<Collection>
<Items>
<Item>
<AlternativeItemCode>String</AlternativeItemCode>
<Barcode>String</Barcode>
<Description>String</Description>
<Name>String</Name>
<Ordinal>0</Ordinal>
<Quantity>0</Quantity>
<Uom>String</Uom>
<Weight>0</Weight>
</Item>
</Items>
<Notes>String</Notes>
<OrderReference>String</OrderReference>
</Collection>
<Customer>
<Contact>String</Contact>
<Description>String</Description>
<Location>
<Address1>String</Address1>
<Address2>String</Address2>
<Address3>String</Address3>
<Country>String</Country>
<Email>String</Email>
<Mobile>String</Mobile>
<Name>String</Name>
<Notes>String</Notes>
<PostCode>String</PostCode>
<Telephone>String</Telephone>
</Location>
<Name>String</Name>
<Notes>String</Notes>
</Customer>
<Delivery>
<Items>
<Item>
<AlternativeItemCode>String</AlternativeItemCode>
<Barcode>String</Barcode>
<Description>String</Description>
<Name>String</Name>
<Ordinal>0</Ordinal>
<Quantity>0</Quantity>
<Uom>String</Uom>
<Weight>0</Weight>
</Item>
</Items>
<Notes>String</Notes>
<OrderReference>String</OrderReference>
</Delivery>
<Description>String</Description>
<EndTime>0001-01-01T00:00:00</EndTime>
<Name>String</Name>
<OrderNumber>String</OrderNumber>
<Ordinal>0</Ordinal>
<StartTime>0001-01-01T00:00:00</StartTime>
</Drop>
</Drops>
<EndTime>0001-01-01T00:00:00</EndTime>
<Id>String</Id>
<Ordinal>0</Ordinal>
<Route>String</Route>
<StartTime>0001-01-01T00:00:00</StartTime>
</Manifest>
</Manifests>
<Password>String</Password>
<Username>String</Username>
</ManifestImport>
</IntegrationImportRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<ManifestImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Spirit.Server.Common.Message.Integration">
<Message>String</Message>
<ResponseCode>0</ResponseCode>
<Result>Unknown</Result>
</ManifestImportResponse>
</soap12:Body>
</soap12:Envelope>