After creating through the Create Shipments function, all shipments must be registered for carriage.

The description of the formation of the fields for introduction into the form is presented in Table 2.4

Example of an XML code for a single submission, wait = 1: Example of request execution
<?xml version="1.0" encoding="UTF-8"?>
<param>
 
<login>login</login>
<function>CreateRegister</function>
<request>
<CreateRegister>
<ClientUID>4a430ffd-6b7d-11e2-a79e-
003048d2b473</ClientUID>
<Shipments>
<ClientsShipmentRef>000-testAPI
</ClientsShipmentRef>
<ClientsShipmentRef>000- testAPI2</ClientsShipmentRef>
</Shipments>
</CreateRegister>
</request>
<sign>sign*</sign>
</param>
<return>
<api>API-1C</api>
<apiversion>1</apiversion>
<result_table>
<items>
<RegiterNumber>КВ000000691</RegiterNumber>
<RegisterUID>038061ed-745f-11e2-85b4-
003048d2b473</RegisterUID>
<Error>000</Error>
</items>
</result_table>
<result_uuid>289</result_uuid>
<errors>
<code>000</code>
<name> </name>
</errors>
</return>
Example of an XML code for a single submission, wait = 0:
Example of request execution
<?xml version="1.0" encoding="UTF-8"?>
<param>
<login>login</login>
<function>CreateRegister</function>
<request>
<CreateRegister>
<ClientUID>4a430ffd-6b7d-11e2-a79e-
003048d2b473</ClientUID>
<Shipments>
<ClientsShipmentRef>000-testAPI
</ClientsShipmentRef>
<ClientsShipmentRef>000- testAPI2</ClientsShipmentRef>
</Shipments>
</CreateRegister>
</request>
<sign>sign*</sign>
</param>
<return>
<api>API-1C</api>
<apiversion>1</apiversion>
<result_table>
</result_table>
<result_uuid>290</result_uuid>
<errors>
<code>000</code>
<name> </name>
</errors>
</return>

 

Table 2.3. Description of the contents of <request>XML code.

 

Field Description Type
CreateRegister
Registration of shipments for transportation
ClientUID
Unique customer ID assigned after a counterpart is entered into the system (Mandatory)
Uniqueidentifier
Shipments
List of shipments. The block may have one or more entries. (Obligatory)
ClientsShipmentRef
Departure number (Mandatory)
Text