Изменения

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

API Documentation

571 байт добавлено, 10:10, 28 июля 2021
м
Obtaining the pdf waybill
</source>
== Obtaining the pdf waybill Getting Documents for Printing ==
'''Get Print Forms Request example:Example'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
<waybill>
<auth extra="8" login="login" pass="pass" />
<orders> <order orderno="1234567" ordercode="33331" /> <order orderno="1234568" ordercode="33332" />1234567 </ordernoorders>
<form>1</form>
</waybill>
</source>
'''The fields description:Fields Description'''
'''waybill''' - is a root container. Required. *'''auth''' - is authorization. Required. *'''orders''' — list of orders to get print forms for. It contains tags '''order''' with the following attributes:** '''''orderno''' - Order number'' — order code.** '''''ordercode''''' — internal order code. Required*: Specify either of the attributes for all the orders. The '''''ordercode''''' attribute is recommended. *'''form''' - Form type— packing slip format. Optional. It can bePossible values::* '''1 - A ''' — detailed waybillpacking slip. Default value.:* '''2 - Sticker (''' — Zebra)label.:* '''3''' — A4 size label.:* '''4''' — delivery and acceptance certificate.
'''Response example:Example'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
</source>
Note that print forms are not created for pickups.
The '''''content''''' tag contains pdf base 64 encoded binary, base64 encodeddata (PDF file).
== Cancellation of order ==

Навигация