CITWebServices


Click here for a complete list of operations.

GetLabelConfiguration

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

<?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>
    <GetLabelConfiguration xmlns="http://citjnb.co.za/citwebservices/">
      <strUserName>string</strUserName>
      <strToken>string</strToken>
      <strAccountNumber>string</strAccountNumber>
      <strLabelType>string</strLabelType>
      <strWaybillNumberBarcode>string</strWaybillNumberBarcode>
      <strSorterBarcode>string</strSorterBarcode>
      <strWaybillNumber>string</strWaybillNumber>
      <strWaybillDate>string</strWaybillDate>
      <strService>string</strService>
      <strFromHub>string</strFromHub>
      <strToHub>string</strToHub>
      <strAccount>string</strAccount>
      <strPieces>string</strPieces>
      <strRoute>string</strRoute>
      <strStorageNumber>string</strStorageNumber>
      <strSenderCompany>string</strSenderCompany>
      <strSenderContact>string</strSenderContact>
      <strSenderContactNumbers>string</strSenderContactNumbers>
      <strSenderAddress1>string</strSenderAddress1>
      <strSenderAddress2>string</strSenderAddress2>
      <strSenderAddress3>string</strSenderAddress3>
      <strSenderAddress4>string</strSenderAddress4>
      <strReceiverCompany>string</strReceiverCompany>
      <strReceiverContact>string</strReceiverContact>
      <strReceiverContactNumbers>string</strReceiverContactNumbers>
      <strReceiverAddress1>string</strReceiverAddress1>
      <strReceiverAddress2>string</strReceiverAddress2>
      <strReceiverAddress3>string</strReceiverAddress3>
      <strReceiverAddress4>string</strReceiverAddress4>
    </GetLabelConfiguration>
  </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>
    <GetLabelConfigurationResponse xmlns="http://citjnb.co.za/citwebservices/">
      <GetLabelConfigurationResult>string</GetLabelConfigurationResult>
    </GetLabelConfigurationResponse>
  </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>
    <GetLabelConfiguration xmlns="http://citjnb.co.za/citwebservices/">
      <strUserName>string</strUserName>
      <strToken>string</strToken>
      <strAccountNumber>string</strAccountNumber>
      <strLabelType>string</strLabelType>
      <strWaybillNumberBarcode>string</strWaybillNumberBarcode>
      <strSorterBarcode>string</strSorterBarcode>
      <strWaybillNumber>string</strWaybillNumber>
      <strWaybillDate>string</strWaybillDate>
      <strService>string</strService>
      <strFromHub>string</strFromHub>
      <strToHub>string</strToHub>
      <strAccount>string</strAccount>
      <strPieces>string</strPieces>
      <strRoute>string</strRoute>
      <strStorageNumber>string</strStorageNumber>
      <strSenderCompany>string</strSenderCompany>
      <strSenderContact>string</strSenderContact>
      <strSenderContactNumbers>string</strSenderContactNumbers>
      <strSenderAddress1>string</strSenderAddress1>
      <strSenderAddress2>string</strSenderAddress2>
      <strSenderAddress3>string</strSenderAddress3>
      <strSenderAddress4>string</strSenderAddress4>
      <strReceiverCompany>string</strReceiverCompany>
      <strReceiverContact>string</strReceiverContact>
      <strReceiverContactNumbers>string</strReceiverContactNumbers>
      <strReceiverAddress1>string</strReceiverAddress1>
      <strReceiverAddress2>string</strReceiverAddress2>
      <strReceiverAddress3>string</strReceiverAddress3>
      <strReceiverAddress4>string</strReceiverAddress4>
    </GetLabelConfiguration>
  </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>
    <GetLabelConfigurationResponse xmlns="http://citjnb.co.za/citwebservices/">
      <GetLabelConfigurationResult>string</GetLabelConfigurationResult>
    </GetLabelConfigurationResponse>
  </soap12:Body>
</soap12:Envelope>