GET api/returnmoney/{sessionID}/{invID}/{allMoney}/{hash}
Возврат средств продавцу
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionID |
ID сессии (получается при логине) |
string |
Required |
| invID |
номер счета |
integer |
Required |
| allMoney |
флаг полный\частичный возврат |
integer |
Required |
| hash |
MD5 hash |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ReturnMoneyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| retval |
Код возврата (0 - ок, иначе - ошибка) |
integer |
None. |
| desc |
Текстовая расшифровка кода возврата (описание ошибки) |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"retval": 1,
"desc": "sample string 2"
}
application/xml, text/xml
Sample:
<returnmoney.response> <retval>1</retval> <desc>sample string 2</desc> </returnmoney.response>