Изменения

Перейти к: навигация, поиск

API Documentation

1044 байта добавлено, 13:14, 27 декабря 2018
Нет описания правки
If necessary, images can be attached to the order information.
'''The example of a status change responserequest:'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
</source>
== Obtaining the pdf waybill ==
 
'''The example of a request:'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
<waybill>
<auth extra="8" login="login" pass="pass" />
<orderno>1234567</orderno>
<form>1</form>
</waybill>
</source>
 
'''The fields description:'''
 
'''waybill''' - is a root container. It is a mandatory element.
*'''auth''' - is authorization. It is a mandatory element.
*'''orderno''' - Order number. It is a mandatory element.
*'''form''' - Form type. Is not mandatory. Can be:
:* 1 - A detailed waybill
:* 2 - Sticker (Zebra)
 
 
'''Response example:'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<waybill>
<content>EODIcaI8KSBlwQ 4MnEOR7Px8U8EBAyGICBnwpw
IZhQgz0ZxuPs8EBM/GcbjzB AwhBl8hwQYIO00GmEwg1CeEG
mqYTChNU0wqf8l8nz4zgc+K fCno+zwU5GjOZmzXGcbEQYIM
4zkegRE40zWzONyoNNMIOIa cWnp6aDCGEGE9NQmoQd2mg00
79U4f3hPTwnfp6Sdrafeqpa JDpFw/1aYT077VNNNdO00G3q
mqqvp9p2E7T0/wiFemv8uG6 OM</content>
</waybill>
</source>
 
 
The '''''content''''' tag contains pdf binary, base64 encoded.

Навигация