POST api/reports/SmsReport
Отчёт по смс-сообщениям
Request Information
URI Parameters
None.
Body Parameters
GetSmsSentMessageRequestName | Description | Type | Additional information |
---|---|---|---|
PartnerId |
идентификатор Партнера программы лояльности |
integer |
None. |
Pos |
код торговой точки |
integer |
None. |
PosName |
Точка продажи |
string |
None. |
Phone |
Номер телефона клиента |
string |
None. |
Rectime |
Дата и время отправки СМС |
string |
None. |
Text |
Текст СМС-сообщения |
string |
None. |
Status |
Статус отправки |
string |
None. |
Price |
Стоимость отправки |
string |
None. |
Page |
Позиция с которой отображать выборку |
integer |
None. |
PageSize |
Сколько объектов отображать |
integer |
None. |
DateStart |
Показывать операции с |
string |
None. |
DateEnd |
Показывать операции по |
string |
None. |
Operator |
Идентификатор оператора программы лояльности |
integer |
None. |
Token |
Токен пользователя, который инициирует данный запрос |
integer |
None. |
SiteCode |
Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PartnerId": 1, "Pos": 2, "PosName": "sample string 3", "Phone": "sample string 4", "Rectime": "sample string 5", "Text": "sample string 6", "Status": "sample string 7", "Price": "sample string 8", "Page": 9, "PageSize": 10, "DateStart": "sample string 11", "DateEnd": "sample string 12", "Operator": 1, "Token": 1, "SiteCode": "sample string 13" }
application/xml, text/xml
Sample:
<GetSmsSentMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <Operator xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Operator> <SiteCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 13</SiteCode> <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token> <DateEnd>sample string 12</DateEnd> <DateStart>sample string 11</DateStart> <Page>9</Page> <PageSize>10</PageSize> <PartnerId>1</PartnerId> <Phone>sample string 4</Phone> <Pos>2</Pos> <PosName>sample string 3</PosName> <Price>sample string 8</Price> <Rectime>sample string 5</Rectime> <Status>sample string 7</Status> <Text>sample string 6</Text> </GetSmsSentMessageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReportResponseName | 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>