Service


Click here for a complete list of operations.

BookJob

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

<?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>
    <BookJob xmlns="http://developer.smartsend.com.au/">
      <request>
        <DeveloperId>string</DeveloperId>
        <ResellerId>string</ResellerId>
        <TailLift>string</TailLift>
        <TransportAssurance>int</TransportAssurance>
        <VIPUsername>string</VIPUsername>
        <VIPPassword>string</VIPPassword>
        <PostcodeFrom>string</PostcodeFrom>
        <PostcodeTo>string</PostcodeTo>
        <SuburbFrom>string</SuburbFrom>
        <SuburbTo>string</SuburbTo>
        <StateFrom>string</StateFrom>
        <StateTo>string</StateTo>
        <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>
        <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>
        </DestinationDetails>
        <PickupDate>dateTime</PickupDate>
        <PickupTime>string</PickupTime>
        <ReceiverEmailIn>string</ReceiverEmailIn>
        <EmailReceiverTracking>boolean</EmailReceiverTracking>
      </details>
      <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>
    </BookJob>
  </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>
    <BookJobResponse xmlns="http://developer.smartsend.com.au/">
      <BookJobResult>
        <StatusCode>int</StatusCode>
        <StatusMessages>
          <string>string</string>
          <string>string</string>
        </StatusMessages>
        <ReferenceID>string</ReferenceID>
      </BookJobResult>
    </BookJobResponse>
  </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>
    <BookJob xmlns="http://developer.smartsend.com.au/">
      <request>
        <DeveloperId>string</DeveloperId>
        <ResellerId>string</ResellerId>
        <TailLift>string</TailLift>
        <TransportAssurance>int</TransportAssurance>
        <VIPUsername>string</VIPUsername>
        <VIPPassword>string</VIPPassword>
        <PostcodeFrom>string</PostcodeFrom>
        <PostcodeTo>string</PostcodeTo>
        <SuburbFrom>string</SuburbFrom>
        <SuburbTo>string</SuburbTo>
        <StateFrom>string</StateFrom>
        <StateTo>string</StateTo>
        <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>
        <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>
        </DestinationDetails>
        <PickupDate>dateTime</PickupDate>
        <PickupTime>string</PickupTime>
        <ReceiverEmailIn>string</ReceiverEmailIn>
        <EmailReceiverTracking>boolean</EmailReceiverTracking>
      </details>
      <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>
    </BookJob>
  </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>
    <BookJobResponse xmlns="http://developer.smartsend.com.au/">
      <BookJobResult>
        <StatusCode>int</StatusCode>
        <StatusMessages>
          <string>string</string>
          <string>string</string>
        </StatusMessages>
        <ReferenceID>string</ReferenceID>
      </BookJobResult>
    </BookJobResponse>
  </soap12:Body>
</soap12:Envelope>