CITWebServices


Click here for a complete list of operations.

AddInhouseWaybill

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 /citwebservices.asmx HTTP/1.1
Host: webservices.courierit.co.za
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://citjnb.co.za/citwebservices/AddInhouseWaybill"

<?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>
    <AddInhouseWaybill xmlns="http://citjnb.co.za/citwebservices/">
      <strUserName>string</strUserName>
      <strToken>string</strToken>
      <strSiteID>string</strSiteID>
      <strWaybillNumber>string</strWaybillNumber>
      <strAccountNumber>string</strAccountNumber>
      <strShippersReference>string</strShippersReference>
      <strCompanyName>string</strCompanyName>
      <strDeliveryAddressLine1>string</strDeliveryAddressLine1>
      <strDeliveryAddressLine2>string</strDeliveryAddressLine2>
      <strDeliveryAddressLine3>string</strDeliveryAddressLine3>
      <strDeliveryAddressSuburb>string</strDeliveryAddressSuburb>
      <strDeliveryAddressCity>string</strDeliveryAddressCity>
      <strDeliveryAddressPostCode>string</strDeliveryAddressPostCode>
      <strSuburbId>string</strSuburbId>
      <strContactName>string</strContactName>
      <strContactTelephone>string</strContactTelephone>
      <strContactCellNumber>string</strContactCellNumber>
      <strContactEmail>string</strContactEmail>
      <strContents>string</strContents>
      <strService>string</strService>
      <strInsurance>string</strInsurance>
      <strInsuranceValue>string</strInsuranceValue>
      <strSpecialInstructions>string</strSpecialInstructions>
      <strSaturdayDelivery>string</strSaturdayDelivery>
      <strPublicHoliday>string</strPublicHoliday>
      <strTotalPieces>string</strTotalPieces>
      <strDimensions>string</strDimensions>
      <strBarCodeNumbers>string</strBarCodeNumbers>
      <strCollectOnDelivery>string</strCollectOnDelivery>
      <strCollectionWaybillNumber>string</strCollectionWaybillNumber>
      <strRica>string</strRica>
      <strRicaText>string</strRicaText>
      <strRicaAddressLine1>string</strRicaAddressLine1>
      <strRicaAddressLine2>string</strRicaAddressLine2>
      <strRicaAddressLine3>string</strRicaAddressLine3>
      <strRicaSuburb>string</strRicaSuburb>
      <strRicaCity>string</strRicaCity>
      <strRicaPostCode>string</strRicaPostCode>
      <strIDVerification>string</strIDVerification>
      <strIDNumber>string</strIDNumber>
      <strCustomValue1>string</strCustomValue1>
      <strCustomValue2>string</strCustomValue2>
      <strCustomValue3>string</strCustomValue3>
      <strCustomValue4>string</strCustomValue4>
      <strCustomValue5>string</strCustomValue5>
    </AddInhouseWaybill>
  </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>
    <AddInhouseWaybillResponse xmlns="http://citjnb.co.za/citwebservices/">
      <AddInhouseWaybillResult>xml</AddInhouseWaybillResult>
    </AddInhouseWaybillResponse>
  </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 /citwebservices.asmx HTTP/1.1
Host: webservices.courierit.co.za
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>
    <AddInhouseWaybill xmlns="http://citjnb.co.za/citwebservices/">
      <strUserName>string</strUserName>
      <strToken>string</strToken>
      <strSiteID>string</strSiteID>
      <strWaybillNumber>string</strWaybillNumber>
      <strAccountNumber>string</strAccountNumber>
      <strShippersReference>string</strShippersReference>
      <strCompanyName>string</strCompanyName>
      <strDeliveryAddressLine1>string</strDeliveryAddressLine1>
      <strDeliveryAddressLine2>string</strDeliveryAddressLine2>
      <strDeliveryAddressLine3>string</strDeliveryAddressLine3>
      <strDeliveryAddressSuburb>string</strDeliveryAddressSuburb>
      <strDeliveryAddressCity>string</strDeliveryAddressCity>
      <strDeliveryAddressPostCode>string</strDeliveryAddressPostCode>
      <strSuburbId>string</strSuburbId>
      <strContactName>string</strContactName>
      <strContactTelephone>string</strContactTelephone>
      <strContactCellNumber>string</strContactCellNumber>
      <strContactEmail>string</strContactEmail>
      <strContents>string</strContents>
      <strService>string</strService>
      <strInsurance>string</strInsurance>
      <strInsuranceValue>string</strInsuranceValue>
      <strSpecialInstructions>string</strSpecialInstructions>
      <strSaturdayDelivery>string</strSaturdayDelivery>
      <strPublicHoliday>string</strPublicHoliday>
      <strTotalPieces>string</strTotalPieces>
      <strDimensions>string</strDimensions>
      <strBarCodeNumbers>string</strBarCodeNumbers>
      <strCollectOnDelivery>string</strCollectOnDelivery>
      <strCollectionWaybillNumber>string</strCollectionWaybillNumber>
      <strRica>string</strRica>
      <strRicaText>string</strRicaText>
      <strRicaAddressLine1>string</strRicaAddressLine1>
      <strRicaAddressLine2>string</strRicaAddressLine2>
      <strRicaAddressLine3>string</strRicaAddressLine3>
      <strRicaSuburb>string</strRicaSuburb>
      <strRicaCity>string</strRicaCity>
      <strRicaPostCode>string</strRicaPostCode>
      <strIDVerification>string</strIDVerification>
      <strIDNumber>string</strIDNumber>
      <strCustomValue1>string</strCustomValue1>
      <strCustomValue2>string</strCustomValue2>
      <strCustomValue3>string</strCustomValue3>
      <strCustomValue4>string</strCustomValue4>
      <strCustomValue5>string</strCustomValue5>
    </AddInhouseWaybill>
  </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>
    <AddInhouseWaybillResponse xmlns="http://citjnb.co.za/citwebservices/">
      <AddInhouseWaybillResult>xml</AddInhouseWaybillResult>
    </AddInhouseWaybillResponse>
  </soap12:Body>
</soap12:Envelope>