Изменения

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

API Documentation

684 байта добавлено, 07:23, 30 июля 2021
м
Order Elements
=== Order Elements ===
'''Required Elements'''
For MeaSoft, only three fields are required:
* either receiver->company or receiver->person
* receiver->address
* receiver->phone.
Courier service company can add required fields in the system settings. If you do not specify the required field values, an error message returns.
 
<spoiler text="Example of order with minimum data">
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<neworder>
<auth extra="8" login="test" pass="testm" />
<order>
<receiver>
<company>Company</company>
<phone>(495)123-45-67</phone>
<address>Petrovka, 38</address>
</receiver>
</order>
</neworder>
</source>
</spoiler>
 
 
'''Fields Description'''
*'''neworder''' is a root container, required.
:*'''''newfolder''''' is an attribute of a new order, possible values: '''YES''', '''NO'''. If '''YES''', a new order is created for the specified shipment in the courier service system. It is an optional element.

Навигация