Service


Click here for a complete list of operations.

ObtainInternationalQuote

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 /service.asmx HTTP/1.1
Host: developer.smartsend.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://developer.smartsend.com.au/ObtainInternationalQuote"

<?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>
    <ObtainInternationalQuote xmlns="http://developer.smartsend.com.au/">
      <request>
        <VIPUsername>string</VIPUsername>
        <VIPPassword>string</VIPPassword>
        <DeveloperId>string</DeveloperId>
        <ResellerId>string</ResellerId>
        <PostcodeFrom>string</PostcodeFrom>
        <CountryTo>string</CountryTo>
        <CityTo>string</CityTo>
        <TransportAssurance>int</TransportAssurance>
        <PostcodeTo>string</PostcodeTo>
        <SuburbFrom>string</SuburbFrom>
        <StateFrom>string</StateFrom>
        <UserType>string</UserType>
        <OnlineSellerID>string</OnlineSellerID>
        <PromotionalCode>string</PromotionalCode>
        <ReceiptedDelivery>boolean</ReceiptedDelivery>
        <Items>
          <Item>
            <Description>string</Description>
            <Depth>int</Depth>
            <Height>int</Height>
            <Length>int</Length>
            <Weight>decimal</Weight>
          </Item>
          <Item>
            <Description>string</Description>
            <Depth>int</Depth>
            <Height>int</Height>
            <Length>int</Length>
            <Weight>decimal</Weight>
          </Item>
        </Items>
        <CallSrc>string</CallSrc>
        <CallVer>string</CallVer>
      </request>
    </ObtainInternationalQuote>
  </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>
    <ObtainInternationalQuoteResponse xmlns="http://developer.smartsend.com.au/">
      <ObtainInternationalQuoteResult>
        <Quotes>
          <Quote>
            <PriceID>int</PriceID>
            <CourierName>string</CourierName>
            <ServiceName>string</ServiceName>
            <Discount>decimal</Discount>
            <TotalPrice>decimal</TotalPrice>
            <TotalDiscount>decimal</TotalDiscount>
            <TotalTransportAssurance>decimal</TotalTransportAssurance>
            <TotalGST>decimal</TotalGST>
            <SameDayPickupAvailable>boolean</SameDayPickupAvailable>
            <SameDayPickupCutOffTime>string</SameDayPickupCutOffTime>
            <TransitDescription>string</TransitDescription>
          </Quote>
          <Quote>
            <PriceID>int</PriceID>
            <CourierName>string</CourierName>
            <ServiceName>string</ServiceName>
            <Discount>decimal</Discount>
            <TotalPrice>decimal</TotalPrice>
            <TotalDiscount>decimal</TotalDiscount>
            <TotalTransportAssurance>decimal</TotalTransportAssurance>
            <TotalGST>decimal</TotalGST>
            <SameDayPickupAvailable>boolean</SameDayPickupAvailable>
            <SameDayPickupCutOffTime>string</SameDayPickupCutOffTime>
            <TransitDescription>string</TransitDescription>
          </Quote>
        </Quotes>
        <StatusCode>int</StatusCode>
        <StatusMessages>
          <string>string</string>
          <string>string</string>
        </StatusMessages>
      </ObtainInternationalQuoteResult>
    </ObtainInternationalQuoteResponse>
  </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 /service.asmx HTTP/1.1
Host: developer.smartsend.com.au
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>
    <ObtainInternationalQuote xmlns="http://developer.smartsend.com.au/">
      <request>
        <VIPUsername>string</VIPUsername>
        <VIPPassword>string</VIPPassword>
        <DeveloperId>string</DeveloperId>
        <ResellerId>string</ResellerId>
        <PostcodeFrom>string</PostcodeFrom>
        <CountryTo>string</CountryTo>
        <CityTo>string</CityTo>
        <TransportAssurance>int</TransportAssurance>
        <PostcodeTo>string</PostcodeTo>
        <SuburbFrom>string</SuburbFrom>
        <StateFrom>string</StateFrom>
        <UserType>string</UserType>
        <OnlineSellerID>string</OnlineSellerID>
        <PromotionalCode>string</PromotionalCode>
        <ReceiptedDelivery>boolean</ReceiptedDelivery>
        <Items>
          <Item>
            <Description>string</Description>
            <Depth>int</Depth>
            <Height>int</Height>
            <Length>int</Length>
            <Weight>decimal</Weight>
          </Item>
          <Item>
            <Description>string</Description>
            <Depth>int</Depth>
            <Height>int</Height>
            <Length>int</Length>
            <Weight>decimal</Weight>
          </Item>
        </Items>
        <CallSrc>string</CallSrc>
        <CallVer>string</CallVer>
      </request>
    </ObtainInternationalQuote>
  </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>
    <ObtainInternationalQuoteResponse xmlns="http://developer.smartsend.com.au/">
      <ObtainInternationalQuoteResult>
        <Quotes>
          <Quote>
            <PriceID>int</PriceID>
            <CourierName>string</CourierName>
            <ServiceName>string</ServiceName>
            <Discount>decimal</Discount>
            <TotalPrice>decimal</TotalPrice>
            <TotalDiscount>decimal</TotalDiscount>
            <TotalTransportAssurance>decimal</TotalTransportAssurance>
            <TotalGST>decimal</TotalGST>
            <SameDayPickupAvailable>boolean</SameDayPickupAvailable>
            <SameDayPickupCutOffTime>string</SameDayPickupCutOffTime>
            <TransitDescription>string</TransitDescription>
          </Quote>
          <Quote>
            <PriceID>int</PriceID>
            <CourierName>string</CourierName>
            <ServiceName>string</ServiceName>
            <Discount>decimal</Discount>
            <TotalPrice>decimal</TotalPrice>
            <TotalDiscount>decimal</TotalDiscount>
            <TotalTransportAssurance>decimal</TotalTransportAssurance>
            <TotalGST>decimal</TotalGST>
            <SameDayPickupAvailable>boolean</SameDayPickupAvailable>
            <SameDayPickupCutOffTime>string</SameDayPickupCutOffTime>
            <TransitDescription>string</TransitDescription>
          </Quote>
        </Quotes>
        <StatusCode>int</StatusCode>
        <StatusMessages>
          <string>string</string>
          <string>string</string>
        </StatusMessages>
      </ObtainInternationalQuoteResult>
    </ObtainInternationalQuoteResponse>
  </soap12:Body>
</soap12:Envelope>