GET api/approvedelivery/{sessionID}/{invoiceID}/{code}
Подтверждает доставку товара покупателю продавцом (со стороны продавца)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionID |
ID сессии (получается при логине) |
string |
Required |
| invoiceID |
ID счета |
integer |
Required |
| code |
код для проерки |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApproveDeliveryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| retval |
Код возврата (0 - ок, иначе - ошибка) |
integer |
None. |
| state |
Статус сделки |
integer |
None. |
| desc |
Текстовая расшифровка кода возврата (описание ошибки) |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"retval": 1,
"state": 3,
"desc": "sample string 2"
}
application/xml, text/xml
Sample:
<approvedelivery.response> <retval>1</retval> <desc>sample string 2</desc> <state>3</state> </approvedelivery.response>