POST api/bonuses/EventBonusAdd
Ручное добавление событийного бонуса
Request Information
URI Parameters
None.
Body Parameters
EventBonusAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Operator | integer |
None. |
|
| Card | integer |
None. |
|
| Phone | integer |
None. |
|
| Bonus | decimal number |
None. |
|
| Source | integer |
None. |
|
| Event | integer |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Operator": 1,
"Card": 1,
"Phone": 1,
"Bonus": 2.0,
"Source": 1,
"Event": 1,
"Token": "sample string 3"
}
application/xml, text/xml
Sample:
<EventBonusAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManager.Infrastructure.Bonuses"> <Bonus>2</Bonus> <Card>1</Card> <Event>1</Event> <Operator>1</Operator> <Phone>1</Phone> <Source>1</Source> <Token>sample string 3</Token> </EventBonusAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.