CITWebServices


Click here for a complete list of operations.

AddCollectionRequest

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

<?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>
    <AddCollectionRequest xmlns="http://citjnb.co.za/citwebservices/">
      <strAccountNumber>string</strAccountNumber>
      <strEmailAddress>string</strEmailAddress>
      <strCollectionHub>string</strCollectionHub>
      <strConsignor>string</strConsignor>
      <strWaybillNumber>string</strWaybillNumber>
      <strConsignorAdd1>string</strConsignorAdd1>
      <strConsignorAdd2>string</strConsignorAdd2>
      <strConsignorAdd3>string</strConsignorAdd3>
      <strConsignorSuburb>string</strConsignorSuburb>
      <strConsignorCity>string</strConsignorCity>
      <strConsignorPostCode>string</strConsignorPostCode>
      <strConsignorContact>string</strConsignorContact>
      <strConsignorTel>string</strConsignorTel>
      <strConsignee>string</strConsignee>
      <strConsigneeAdd1>string</strConsigneeAdd1>
      <strConsigneeAdd2>string</strConsigneeAdd2>
      <strConsigneeAdd3>string</strConsigneeAdd3>
      <strConsigneeSuburb>string</strConsigneeSuburb>
      <strConsigneeCity>string</strConsigneeCity>
      <strConsigneePostCode>string</strConsigneePostCode>
      <strConsigneeContact>string</strConsigneeContact>
      <strConsigneeTel>string</strConsigneeTel>
      <strRemarks>string</strRemarks>
      <strInsurance>string</strInsurance>
      <strInsuranceValue>string</strInsuranceValue>
      <strService>string</strService>
      <strAfterHours>string</strAfterHours>
      <strSaturday>string</strSaturday>
      <strSecurity>string</strSecurity>
      <strTimeReady>string</strTimeReady>
      <strTimeClosing>string</strTimeClosing>
      <strShippersReference>string</strShippersReference>
      <strCollectionDate>string</strCollectionDate>
      <strYourName>string</strYourName>
      <strYourContactNumber>string</strYourContactNumber>
    </AddCollectionRequest>
  </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>
    <AddCollectionRequestResponse xmlns="http://citjnb.co.za/citwebservices/">
      <AddCollectionRequestResult>xml</AddCollectionRequestResult>
    </AddCollectionRequestResponse>
  </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>
    <AddCollectionRequest xmlns="http://citjnb.co.za/citwebservices/">
      <strAccountNumber>string</strAccountNumber>
      <strEmailAddress>string</strEmailAddress>
      <strCollectionHub>string</strCollectionHub>
      <strConsignor>string</strConsignor>
      <strWaybillNumber>string</strWaybillNumber>
      <strConsignorAdd1>string</strConsignorAdd1>
      <strConsignorAdd2>string</strConsignorAdd2>
      <strConsignorAdd3>string</strConsignorAdd3>
      <strConsignorSuburb>string</strConsignorSuburb>
      <strConsignorCity>string</strConsignorCity>
      <strConsignorPostCode>string</strConsignorPostCode>
      <strConsignorContact>string</strConsignorContact>
      <strConsignorTel>string</strConsignorTel>
      <strConsignee>string</strConsignee>
      <strConsigneeAdd1>string</strConsigneeAdd1>
      <strConsigneeAdd2>string</strConsigneeAdd2>
      <strConsigneeAdd3>string</strConsigneeAdd3>
      <strConsigneeSuburb>string</strConsigneeSuburb>
      <strConsigneeCity>string</strConsigneeCity>
      <strConsigneePostCode>string</strConsigneePostCode>
      <strConsigneeContact>string</strConsigneeContact>
      <strConsigneeTel>string</strConsigneeTel>
      <strRemarks>string</strRemarks>
      <strInsurance>string</strInsurance>
      <strInsuranceValue>string</strInsuranceValue>
      <strService>string</strService>
      <strAfterHours>string</strAfterHours>
      <strSaturday>string</strSaturday>
      <strSecurity>string</strSecurity>
      <strTimeReady>string</strTimeReady>
      <strTimeClosing>string</strTimeClosing>
      <strShippersReference>string</strShippersReference>
      <strCollectionDate>string</strCollectionDate>
      <strYourName>string</strYourName>
      <strYourContactNumber>string</strYourContactNumber>
    </AddCollectionRequest>
  </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>
    <AddCollectionRequestResponse xmlns="http://citjnb.co.za/citwebservices/">
      <AddCollectionRequestResult>xml</AddCollectionRequestResult>
    </AddCollectionRequestResponse>
  </soap12:Body>
</soap12:Envelope>