GET api/Customer/Abonents_AddPrivilegie?code={code}&sum={sum}&reasonID={reasonID}&comment={comment}&employeeID={employeeID}
Добавление привилегий
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
ЛС |
integer |
Required |
| sum |
Сумма |
decimal number |
Required |
| reasonID |
Id причины |
integer |
Required |
| comment |
Комментарий |
string |
Required |
| employeeID |
Id сотрудника |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AddPrivilegie| Name | Description | Type | Additional information |
|---|---|---|---|
| Data |
Список |
AddPrivilegieResult |
None. |
| Result |
Результат обработки запроса |
boolean |
None. |
| Message |
Сообщение |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"OK": true,
"ResultString": "sample string 2"
},
"Result": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<AddPrivilegie xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models">
<Message>sample string 2</Message>
<Result>true</Result>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.Models.dto">
<d2p1:OK>true</d2p1:OK>
<d2p1:ResultString>sample string 2</d2p1:ResultString>
</Data>
</AddPrivilegie>