Друк

Allows you to delete a created declaration by the time of regestration through the "CreateRegister" function. Description of the formation of the fields for introduction inforce is presented in Table 2.3

Example of an XML code for a single submission, wait = 1: Example of request execution
<?xmlversion="1.0"encoding="UTF-8"?>
<param>
<login>login</login>
<function>DeleteShipments</function>
<request>
<Shipments>
<DeleteShipment>
<ClientsShipmentRef>876- testtest</ClientsShipmentRef>
<ClientUID>8458f0b0-930f-11e2-a91e-
003048d2b473</ClientUID>
</DeleteShipment>
</Shipments>
</request>
 
<sign>sign*</sign>
</param>
<return>
<api>API-1C</api>
<apiversion>1</apiversion>
<result_table>
<items>
<ClientsShipmentRef>876- testtest</ClientsShipmentRef>
<Error>000</Error>
</items>
</result_table>
<result_uuid>25092</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
<?xmlversion="1.0"encoding="UTF-8"?>
<param>
<login>login</login>
<function>DeleteShipments</function>
<request>
<Shipments>
<DeleteShipment>
<ClientsShipmentRef>876- testtest</ClientsShipmentRef>
<ClientUID>8458f0b0-930f-11e2-a91e-
003048d2b473</ClientUID>
</DeleteShipment>
</Shipments>
</request>
 
<sign>sign*</sign>
</param>
<return>
<api>API-1C</api>
<apiversion>1</apiversion>
<result_table></result_table>
<result_uuid>25095</result_uuid>
<errors>
<code>000</code>
<name></name>
</errors>
</return>

 

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

 

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