CITWebServices


Click here for a complete list of operations.

AddJNBDistributionData

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://cijnb.co.za/citwebservices/AddJNBDistributionData"

<?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>
    <strUsername xmlns="http://cijnb.co.za/citwebservices/">string</strUsername>
    <strToken xmlns="http://cijnb.co.za/citwebservices/">string</strToken>
    <strAccountNo xmlns="http://cijnb.co.za/citwebservices/">string</strAccountNo>
    <strSiteID xmlns="http://cijnb.co.za/citwebservices/">string</strSiteID>
    <strProductCode xmlns="http://cijnb.co.za/citwebservices/">string</strProductCode>
    <strCompanyName xmlns="http://cijnb.co.za/citwebservices/">string</strCompanyName>
    <strStreetAddressLine1 xmlns="http://cijnb.co.za/citwebservices/">string</strStreetAddressLine1>
    <strStreetAddressLine2 xmlns="http://cijnb.co.za/citwebservices/">string</strStreetAddressLine2>
    <strSuburb xmlns="http://cijnb.co.za/citwebservices/">string</strSuburb>
    <strCity xmlns="http://cijnb.co.za/citwebservices/">string</strCity>
    <strStreetCode xmlns="http://cijnb.co.za/citwebservices/">string</strStreetCode>
    <strContactName xmlns="http://cijnb.co.za/citwebservices/">string</strContactName>
    <strTelephone xmlns="http://cijnb.co.za/citwebservices/">string</strTelephone>
    <strContactCell xmlns="http://cijnb.co.za/citwebservices/">string</strContactCell>
    <strContactEmail xmlns="http://cijnb.co.za/citwebservices/">string</strContactEmail>
    <strService xmlns="http://cijnb.co.za/citwebservices/">string</strService>
    <strWaybillNo xmlns="http://cijnb.co.za/citwebservices/">string</strWaybillNo>
    <strPieces xmlns="http://cijnb.co.za/citwebservices/">string</strPieces>
    <strContents xmlns="http://cijnb.co.za/citwebservices/">string</strContents>
    <strShippersReference xmlns="http://cijnb.co.za/citwebservices/">string</strShippersReference>
    <strSpecialInstructions xmlns="http://cijnb.co.za/citwebservices/">string</strSpecialInstructions>
    <strInsurance xmlns="http://cijnb.co.za/citwebservices/">string</strInsurance>
    <strInsuranceValue xmlns="http://cijnb.co.za/citwebservices/">string</strInsuranceValue>
  </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>
    <AddJNBDistributionDataResult xmlns="http://cijnb.co.za/citwebservices/">xml</AddJNBDistributionDataResult>
  </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>
    <strUsername xmlns="http://cijnb.co.za/citwebservices/">string</strUsername>
    <strToken xmlns="http://cijnb.co.za/citwebservices/">string</strToken>
    <strAccountNo xmlns="http://cijnb.co.za/citwebservices/">string</strAccountNo>
    <strSiteID xmlns="http://cijnb.co.za/citwebservices/">string</strSiteID>
    <strProductCode xmlns="http://cijnb.co.za/citwebservices/">string</strProductCode>
    <strCompanyName xmlns="http://cijnb.co.za/citwebservices/">string</strCompanyName>
    <strStreetAddressLine1 xmlns="http://cijnb.co.za/citwebservices/">string</strStreetAddressLine1>
    <strStreetAddressLine2 xmlns="http://cijnb.co.za/citwebservices/">string</strStreetAddressLine2>
    <strSuburb xmlns="http://cijnb.co.za/citwebservices/">string</strSuburb>
    <strCity xmlns="http://cijnb.co.za/citwebservices/">string</strCity>
    <strStreetCode xmlns="http://cijnb.co.za/citwebservices/">string</strStreetCode>
    <strContactName xmlns="http://cijnb.co.za/citwebservices/">string</strContactName>
    <strTelephone xmlns="http://cijnb.co.za/citwebservices/">string</strTelephone>
    <strContactCell xmlns="http://cijnb.co.za/citwebservices/">string</strContactCell>
    <strContactEmail xmlns="http://cijnb.co.za/citwebservices/">string</strContactEmail>
    <strService xmlns="http://cijnb.co.za/citwebservices/">string</strService>
    <strWaybillNo xmlns="http://cijnb.co.za/citwebservices/">string</strWaybillNo>
    <strPieces xmlns="http://cijnb.co.za/citwebservices/">string</strPieces>
    <strContents xmlns="http://cijnb.co.za/citwebservices/">string</strContents>
    <strShippersReference xmlns="http://cijnb.co.za/citwebservices/">string</strShippersReference>
    <strSpecialInstructions xmlns="http://cijnb.co.za/citwebservices/">string</strSpecialInstructions>
    <strInsurance xmlns="http://cijnb.co.za/citwebservices/">string</strInsurance>
    <strInsuranceValue xmlns="http://cijnb.co.za/citwebservices/">string</strInsuranceValue>
  </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>
    <AddJNBDistributionDataResult xmlns="http://cijnb.co.za/citwebservices/">xml</AddJNBDistributionDataResult>
  </soap12:Body>
</soap12:Envelope>