OrderStatusPort
Click here for a complete list of operations.
ShipmentStatus
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /XWebTD/V1/OrderStatus.asmx HTTP/1.1
Host: ws.xwebservices.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:shipmentStatusIn"
<?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>
<ShipmentStatusRequest xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Messages">
<RequestShipmentStatus>
<Header xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Types">
<TransControlID>string</TransControlID>
</Header>
<Detail xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Types">
<PurposeCode>01 or 02 or 03</PurposeCode>
<EDIInd>Y or N</EDIInd>
<NonEDIInd>Y or N</NonEDIInd>
<RefInfo>
<RefIDQual>ON or PO or IN</RefIDQual>
<RefID>string</RefID>
</RefInfo>
<RefInfo>
<RefIDQual>ON or PO or IN</RefIDQual>
<RefID>string</RefID>
</RefInfo>
<DateInfo>
<DateTimeQual>string</DateTimeQual>
<DateFrom>token</DateFrom>
<DateTo>token</DateTo>
</DateInfo>
</Detail>
<Summary xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Types">
<NbrOfSegments>integer</NbrOfSegments>
</Summary>
</RequestShipmentStatus>
</ShipmentStatusRequest>
</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>
<ShipmentStatusResponse xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Messages">
<ResponseShipmentStatus>
<Header xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Types">
<TransControlID>string</TransControlID>
</Header>
<Detail xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Types">
<PurposeCode>03</PurposeCode>
<RefInfo>
<RefIDQual>ON or PO or IN or QT</RefIDQual>
<RefID>string</RefID>
</RefInfo>
<RefInfo>
<RefIDQual>ON or PO or IN or QT</RefIDQual>
<RefID>string</RefID>
</RefInfo>
<ErrorInfo>
<ErrorInfoIDQual>1Q</ErrorInfoIDQual>
<ErrorID>integer</ErrorID>
<ErrorDesc>string</ErrorDesc>
</ErrorInfo>
<ErrorInfo>
<ErrorInfoIDQual>1Q</ErrorInfoIDQual>
<ErrorID>integer</ErrorID>
<ErrorDesc>string</ErrorDesc>
</ErrorInfo>
<ContainerInfo>
<ContainerID>string</ContainerID>
<ShipToName>string</ShipToName>
<ShipToAddr1>string</ShipToAddr1>
<ShipToAddr2>string</ShipToAddr2>
<ShipToAddr3>string</ShipToAddr3>
<ShipToCity>string</ShipToCity>
<ShipToStateProv>string</ShipToStateProv>
<ShipToPostalCode>string</ShipToPostalCode>
<DateShipped>token</DateShipped>
<DateInvoiced>token</DateInvoiced>
<Weight>integer</Weight>
<WhseDesc>string</WhseDesc>
<ShipVia>string</ShipVia>
<ContainerValue>string</ContainerValue>
<HandlingCharge>string</HandlingCharge>
<CODCharge>string</CODCharge>
<DebitCredit>string</DebitCredit>
<NetFreightCharge>string</NetFreightCharge>
<TaxCharge>string</TaxCharge>
<TotalOrderValue>string</TotalOrderValue>
<ItemInfo xsi:nil="true" />
<ItemInfo xsi:nil="true" />
<NbrOfItems>integer</NbrOfItems>
</ContainerInfo>
<ContainerInfo>
<ContainerID>string</ContainerID>
<ShipToName>string</ShipToName>
<ShipToAddr1>string</ShipToAddr1>
<ShipToAddr2>string</ShipToAddr2>
<ShipToAddr3>string</ShipToAddr3>
<ShipToCity>string</ShipToCity>
<ShipToStateProv>string</ShipToStateProv>
<ShipToPostalCode>string</ShipToPostalCode>
<DateShipped>token</DateShipped>
<DateInvoiced>token</DateInvoiced>
<Weight>integer</Weight>
<WhseDesc>string</WhseDesc>
<ShipVia>string</ShipVia>
<ContainerValue>string</ContainerValue>
<HandlingCharge>string</HandlingCharge>
<CODCharge>string</CODCharge>
<DebitCredit>string</DebitCredit>
<NetFreightCharge>string</NetFreightCharge>
<TaxCharge>string</TaxCharge>
<TotalOrderValue>string</TotalOrderValue>
<ItemInfo xsi:nil="true" />
<ItemInfo xsi:nil="true" />
<NbrOfItems>integer</NbrOfItems>
</ContainerInfo>
</Detail>
<Summary xmlns="urn:ws-xwebservices-com:XWebTD:v1:OrderStatus:Types">
<NbrOfContainers>integer</NbrOfContainers>
<NbrOfSegments>integer</NbrOfSegments>
</Summary>
</ResponseShipmentStatus>
</ShipmentStatusResponse>
</soap:Body>
</soap:Envelope>