Service


Click here for a complete list of operations.

BookInternationalJob

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/BookInternationalJob"

<?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>
    <BookInternationalJob 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>
      <details>
        <EmailReceiverTracking>boolean</EmailReceiverTracking>
        <PriceID>int</PriceID>
        <MerchantInvoiceNumber>string</MerchantInvoiceNumber>
        <ContactDetails>
          <Email>string</Email>
        </ContactDetails>
        <PickupDetails>
          <StreetAddress1>string</StreetAddress1>
          <StreetAddress2>string</StreetAddress2>
        </PickupDetails>
        <DestinationDetails>
          <StreetAddress1>string</StreetAddress1>
          <StreetAddress2>string</StreetAddress2>
          <Country>string</Country>
          <City>string</City>
          <Postcode>string</Postcode>
        </DestinationDetails>
        <PickupDate>dateTime</PickupDate>
        <PickupTime>string</PickupTime>
        <ReceiverEmailIn>string</ReceiverEmailIn>
        <ReasonForExport>string</ReasonForExport>
        <TaxStatus>string</TaxStatus>
        <TaxNumber>string</TaxNumber>
        <ItemTypeCount>string</ItemTypeCount>
        <ItemTypes>
          <ItemType>
            <Description>string</Description>
            <CountryOfManufacture>string</CountryOfManufacture>
            <Value>int</Value>
            <Quantity>int</Quantity>
            <Total>int</Total>
            <HarmonisedCode>string</HarmonisedCode>
            <SerialNumber>string</SerialNumber>
          </ItemType>
          <ItemType>
            <Description>string</Description>
            <CountryOfManufacture>string</CountryOfManufacture>
            <Value>int</Value>
            <Quantity>int</Quantity>
            <Total>int</Total>
            <HarmonisedCode>string</HarmonisedCode>
            <SerialNumber>string</SerialNumber>
          </ItemType>
        </ItemTypes>
      </details>
    </BookInternationalJob>
  </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>
    <BookInternationalJobResponse xmlns="http://developer.smartsend.com.au/">
      <BookInternationalJobResult>
        <StatusCode>int</StatusCode>
        <StatusMessages>
          <string>string</string>
          <string>string</string>
        </StatusMessages>
        <ReferenceID>string</ReferenceID>
      </BookInternationalJobResult>
    </BookInternationalJobResponse>
  </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>
    <BookInternationalJob 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>
      <details>
        <EmailReceiverTracking>boolean</EmailReceiverTracking>
        <PriceID>int</PriceID>
        <MerchantInvoiceNumber>string</MerchantInvoiceNumber>
        <ContactDetails>
          <Email>string</Email>
        </ContactDetails>
        <PickupDetails>
          <StreetAddress1>string</StreetAddress1>
          <StreetAddress2>string</StreetAddress2>
        </PickupDetails>
        <DestinationDetails>
          <StreetAddress1>string</StreetAddress1>
          <StreetAddress2>string</StreetAddress2>
          <Country>string</Country>
          <City>string</City>
          <Postcode>string</Postcode>
        </DestinationDetails>
        <PickupDate>dateTime</PickupDate>
        <PickupTime>string</PickupTime>
        <ReceiverEmailIn>string</ReceiverEmailIn>
        <ReasonForExport>string</ReasonForExport>
        <TaxStatus>string</TaxStatus>
        <TaxNumber>string</TaxNumber>
        <ItemTypeCount>string</ItemTypeCount>
        <ItemTypes>
          <ItemType>
            <Description>string</Description>
            <CountryOfManufacture>string</CountryOfManufacture>
            <Value>int</Value>
            <Quantity>int</Quantity>
            <Total>int</Total>
            <HarmonisedCode>string</HarmonisedCode>
            <SerialNumber>string</SerialNumber>
          </ItemType>
          <ItemType>
            <Description>string</Description>
            <CountryOfManufacture>string</CountryOfManufacture>
            <Value>int</Value>
            <Quantity>int</Quantity>
            <Total>int</Total>
            <HarmonisedCode>string</HarmonisedCode>
            <SerialNumber>string</SerialNumber>
          </ItemType>
        </ItemTypes>
      </details>
    </BookInternationalJob>
  </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>
    <BookInternationalJobResponse xmlns="http://developer.smartsend.com.au/">
      <BookInternationalJobResult>
        <StatusCode>int</StatusCode>
        <StatusMessages>
          <string>string</string>
          <string>string</string>
        </StatusMessages>
        <ReferenceID>string</ReferenceID>
      </BookInternationalJobResult>
    </BookInternationalJobResponse>
  </soap12:Body>
</soap12:Envelope>