| An example of using the function | Example of filtration request execution |
|
<?xml version="1.0"encoding="UTF-8"?>
<param>
<login>LOGIN</login>
<function>ShipmentFormats </function>
<where></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>
<result_table>
<items>
<Code>K13</Code>
<Name>КолесоR13</Name>
<MinWeight>.000</MinWeight>
<MaxWeight>100.000</MaxWeight>
<MinVolume>.0000</MinVolume>
<MaxVolume>.5000</MaxVolume>
<MinInsurance>300.00</MinInsurance>
<MaxInsurance>9999999.00</MaxInsurance>
</items>
<items>
<Code>K14</Code>
<Name>Колесо R14</Name>
<MinWeight>.000</MinWeight>
<MaxWeight>100.000</MaxWeight>
<MinVolume>.0000</MinVolume>
<c>.5000</c>
<MinInsurance>300.00</MinInsurance>
<MaxInsurance>9999999.00</MaxInsurance>
</items>
</result_table>
<result_uuid/>
<errors>
<code>000</code>
<name> </name>
</errors>
</return>
|
Table 1.11. Description of the contents of XML code tags
| Field | Description | Type | Filtration |
|
Code
|
Code
|
Text
|
yes
|
|
Name
|
Name
|
Text
|
yes
|
|
MinWeight
|
Minimum weight
|
Number
|
|
|
MaxWeight
|
Maximum weight
|
Number
|
|
|
MinVolume
|
Minimum volume
|
Number
|
|
|
MaxVolume
|
Maximum volume
|
Number
|
|
|
MinInsurance
|
Minimum insurance amount
|
Number
|
|
|
MaxInsurance
|
Maximum insurance amount
|
Number
|
|