Connections Center - Orders Service
Click here for a complete list of operations.
GetShipFromShipToOptions
Retrieves available Ship-To Options for a Connection where supported.
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 /connectionscenter/ordersservice.asmx HTTP/1.1 Host: ws.tirewire.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ws.tirewire.com/connectionscenter/ordersservice/GetShipFromShipToOptions" <?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> <GetShipFromShipToOptions xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <key>string</key> <groupToken>string</groupToken> <connectionID>int</connectionID> <subData>string</subData> <shipFromLocation>string</shipFromLocation> </GetShipFromShipToOptions> </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> <GetShipFromShipToOptionsResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <GetShipFromShipToOptionsResult> <ShipToOptions> <ShipToOption> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipToOption> <ShipToOption> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipToOption> </ShipToOptions> <RequiresShipTo>boolean</RequiresShipTo> </GetShipFromShipToOptionsResult> </GetShipFromShipToOptionsResponse> </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 /connectionscenter/ordersservice.asmx HTTP/1.1 Host: ws.tirewire.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> <GetShipFromShipToOptions xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <key>string</key> <groupToken>string</groupToken> <connectionID>int</connectionID> <subData>string</subData> <shipFromLocation>string</shipFromLocation> </GetShipFromShipToOptions> </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> <GetShipFromShipToOptionsResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <GetShipFromShipToOptionsResult> <ShipToOptions> <ShipToOption> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipToOption> <ShipToOption> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipToOption> </ShipToOptions> <RequiresShipTo>boolean</RequiresShipTo> </GetShipFromShipToOptionsResult> </GetShipFromShipToOptionsResponse> </soap12:Body> </soap12:Envelope>