An example of using the function | Example of filtration request execution |
<?xml version="1.0"encoding="UTF-8"?>
<param>
<login>LOGIN</login>
<function>ShipmentPackaging</function>
<where>FormatCode = 'DOX'</where>
<order></order>
<sign>sign*</sign>
</param>
*sign=md5(login+ password+ function+ where+
order)
|
<?xmlversion="1.0"encoding="UTF-8" standalone="yes"?>
<return>
<api>API-1C</api>
<apiversion>1</apiversion>
<items><Uuid>547356CE-F3B8-11DF-8B7A-00215AEE3EBE</Uuid> <Name>СЕЙФ-ПАКЕТ</Name> <FormatCode>DOX</FormatCode> </items> <items> <Uuid>91762E6A-0861-11E0-87FF-00215AEE3EBE</Uuid> <Name>Упаковака у конверт</Name> <FormatCode>DOX</FormatCode> </items> <items> <Uuid>AA2F2F37-A2D1-11E4-B90B-003048D2B473</Uuid> <Name>Тубус</Name> <FormatCode>DOX</FormatCode> </items> </result_table> <result_uuid/> <errors>
<code>000</code>
<name> </name>
</errors>
</return>
|
Table 1.13. Description of the contents of XML code tags
Field | Description | Type | Filtration |
Uuid
|
Unique identifier
|
Text
|
|
Name
|
Packing name
|
Text
|
|
FormatCode
|
The format code for which the specified packaging type is available
|
Text
|
yes |