Прикладвикористання ф-ції
|
Прикладвиконання запиту
|
<?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>
|
Таблиця 1.11. Опис вмісту тегівXML-коду
Поле
|
Опис
|
Тип
|
Фільтрація
|
Code
|
Код
|
Text
|
так
|
Name
|
Назва
|
Text
|
так
|
MinWeight
|
Мінімальна вага
|
Number
|
|
MaxWeight
|
Максимальна вага
|
Number
|
|
MinVolume
|
Мінімальний об’єм
|
Number
|
|
MaxVolume
|
Максимальний об’єм
|
Number
|
|
MinInsurance
|
Мінімальна сума страхування
|
Number
|
|
MaxInsurance
|
Максимальна сума страхування
|
Number
|
|