POST api/values/RefundOperatorPeriod
Возращает сумму возратов Оператора\Партнёра\ТТ по месяцам
Request Information
URI Parameters
None.
Body Parameters
RefundOperatorPeriodRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Operator |
идентификатор Оператора программы лояльности |
integer |
None. |
| Partner |
идентификатор Партнера программы лояльности |
integer |
None. |
| Pos |
код торговой точки |
integer |
None. |
| From |
дата начала |
date |
None. |
| To |
дата конца |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Operator": 1,
"Partner": 2,
"Pos": 3,
"From": "2026-04-05T07:50:21.9629208+03:00",
"To": "2026-04-05T07:50:21.9629208+03:00"
}
application/xml, text/xml
Sample:
<RefundOperatorPeriodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <From>2026-04-05T07:50:21.9629208+03:00</From> <Operator>1</Operator> <Partner>2</Partner> <Pos>3</Pos> <To>2026-04-05T07:50:21.9629208+03:00</To> </RefundOperatorPeriodRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefundOperatorPeriodResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| RefundOperatorPeriod |
возратов за период |
Collection of RefundPeriod |
None. |
| ErrorCode |
код ошибки |
integer |
None. |
| Message |
сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"RefundOperatorPeriod": [
{
"Month": 1,
"RefundSum": 2.0
},
{
"Month": 1,
"RefundSum": 2.0
}
],
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<RefundOperatorPeriodResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
<ErrorCode>1</ErrorCode>
<Message>sample string 2</Message>
<RefundOperatorPeriod>
<RefundPeriod>
<Month>1</Month>
<RefundSum>2</RefundSum>
</RefundPeriod>
<RefundPeriod>
<Month>1</Month>
<RefundSum>2</RefundSum>
</RefundPeriod>
</RefundOperatorPeriod>
</RefundOperatorPeriodResponse>