GatewayAsyncRequestService
Click here for a complete list of operations.
ProcessMobileReturn
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 /StandardPortDataReceiver/GatewayAsyncProcessing.asmx HTTP/1.1 Host: ss.consignorportal.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/ProcessMobileReturn" <?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> <ProcessMobileReturn xmlns="http://tempuri.org/"> <packageData> <Packages> <MobilePackage> <Barcode>string</Barcode> <Timestamp>dateTime</Timestamp> <Signature>base64Binary</Signature> <Weight>int</Weight> <Width>int</Width> <Length>int</Length> <Height>int</Height> <Comments>string</Comments> <DateProccessed>dateTime</DateProccessed> <ExtraFieldValue>string</ExtraFieldValue> <PackageHeader xsi:nil="true" /> <ShipmentId>int</ShipmentId> </MobilePackage> <MobilePackage> <Barcode>string</Barcode> <Timestamp>dateTime</Timestamp> <Signature>base64Binary</Signature> <Weight>int</Weight> <Width>int</Width> <Length>int</Length> <Height>int</Height> <Comments>string</Comments> <DateProccessed>dateTime</DateProccessed> <ExtraFieldValue>string</ExtraFieldValue> <PackageHeader xsi:nil="true" /> <ShipmentId>int</ShipmentId> </MobilePackage> </Packages> <InstallationID>int</InstallationID> <actorID>int</actorID> <UserID>int</UserID> <EventCodeID>int</EventCodeID> <LocationID>int</LocationID> <DeviceID>string</DeviceID> <GpsLatitude>double</GpsLatitude> <GpsLongitude>double</GpsLongitude> <Signature>base64Binary</Signature> <SignatureName>string</SignatureName> <LocationName>string</LocationName> <LocationDesc>string</LocationDesc> <DateProccessed>dateTime</DateProccessed> <EpiNumber>string</EpiNumber> </packageData> </ProcessMobileReturn> </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> <ProcessMobileReturnResponse xmlns="http://tempuri.org/"> <ProcessMobileReturnResult>boolean</ProcessMobileReturnResult> </ProcessMobileReturnResponse> </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 /StandardPortDataReceiver/GatewayAsyncProcessing.asmx HTTP/1.1 Host: ss.consignorportal.com 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> <ProcessMobileReturn xmlns="http://tempuri.org/"> <packageData> <Packages> <MobilePackage> <Barcode>string</Barcode> <Timestamp>dateTime</Timestamp> <Signature>base64Binary</Signature> <Weight>int</Weight> <Width>int</Width> <Length>int</Length> <Height>int</Height> <Comments>string</Comments> <DateProccessed>dateTime</DateProccessed> <ExtraFieldValue>string</ExtraFieldValue> <PackageHeader xsi:nil="true" /> <ShipmentId>int</ShipmentId> </MobilePackage> <MobilePackage> <Barcode>string</Barcode> <Timestamp>dateTime</Timestamp> <Signature>base64Binary</Signature> <Weight>int</Weight> <Width>int</Width> <Length>int</Length> <Height>int</Height> <Comments>string</Comments> <DateProccessed>dateTime</DateProccessed> <ExtraFieldValue>string</ExtraFieldValue> <PackageHeader xsi:nil="true" /> <ShipmentId>int</ShipmentId> </MobilePackage> </Packages> <InstallationID>int</InstallationID> <actorID>int</actorID> <UserID>int</UserID> <EventCodeID>int</EventCodeID> <LocationID>int</LocationID> <DeviceID>string</DeviceID> <GpsLatitude>double</GpsLatitude> <GpsLongitude>double</GpsLongitude> <Signature>base64Binary</Signature> <SignatureName>string</SignatureName> <LocationName>string</LocationName> <LocationDesc>string</LocationDesc> <DateProccessed>dateTime</DateProccessed> <EpiNumber>string</EpiNumber> </packageData> </ProcessMobileReturn> </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> <ProcessMobileReturnResponse xmlns="http://tempuri.org/"> <ProcessMobileReturnResult>boolean</ProcessMobileReturnResult> </ProcessMobileReturnResponse> </soap12:Body> </soap12:Envelope>