POST api/reports/PosSalePeriod
Отчёт по продажам ТТ за период
Request Information
URI Parameters
None.
Body Parameters
PosClientPeriodRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Operator |
ID оператора |
integer |
Required |
| Partner |
ID партнера |
integer |
None. |
| Pos |
код Торговой точки |
string |
None. |
| From |
Дата начала периода |
date |
None. |
| To |
Дата окончания периода |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Operator": 1,
"Partner": 2,
"Pos": "sample string 3",
"From": "2025-10-25T15:09:03.0151473+03:00",
"To": "2025-10-25T15:09:03.0151473+03:00"
}
application/xml, text/xml
Sample:
<PosClientPeriodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <From>2025-10-25T15:09:03.0151473+03:00</From> <Operator>1</Operator> <Partner>2</Partner> <Pos>sample string 3</Pos> <To>2025-10-25T15:09:03.0151473+03:00</To> </PosClientPeriodRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReportResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode |
Код ошибки |
integer |
Required |
| Message |
Сообщение об ошибке |
string |
None. |
| Report |
Файл отчёта |
Collection of byte |
Required |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"Message": "sample string 2",
"Report": "QEA="
}
application/xml, text/xml
Sample:
<ReportResponse 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> <Report>QEA=</Report> </ReportResponse>