POST api/reports/BookkeepingReport

Отчёт по сверке

Request Information

URI Parameters

None.

Body Parameters

BookkeepingRequest
NameDescriptionTypeAdditional information
IsOperator

boolean

None.

IsPartner

boolean

None.

IsPos

boolean

None.

Operator

integer

None.

Partner

integer

None.

Pos

integer

None.

Page

integer

None.

PageSize

integer

None.

DateStart

string

None.

DateEnd

string

None.

Name

string

None.

PosName

string

None.

PurchasesMore

string

None.

PurchasesLess

string

None.

AddedMore

string

None.

AddedLess

string

None.

RedeemedMore

string

None.

RedeemedLess

string

None.

ClientsMore

string

None.

ClientsLess

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsOperator": false,
  "IsPartner": false,
  "IsPos": true,
  "Operator": 1,
  "Partner": 2,
  "Pos": 3,
  "Page": 4,
  "PageSize": 5,
  "DateStart": "sample string 6",
  "DateEnd": "sample string 7",
  "Name": "sample string 8",
  "PosName": "sample string 9",
  "PurchasesMore": "sample string 10",
  "PurchasesLess": "sample string 11",
  "AddedMore": "sample string 12",
  "AddedLess": "sample string 13",
  "RedeemedMore": "sample string 14",
  "RedeemedLess": "sample string 15",
  "ClientsMore": "sample string 16",
  "ClientsLess": "sample string 17"
}

application/xml, text/xml

Sample:
<BookkeepingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManager.Infrastructure.Request">
  <AddedLess>sample string 13</AddedLess>
  <AddedMore>sample string 12</AddedMore>
  <ClientsLess>sample string 17</ClientsLess>
  <ClientsMore>sample string 16</ClientsMore>
  <DateEnd>sample string 7</DateEnd>
  <DateStart>sample string 6</DateStart>
  <Name>sample string 8</Name>
  <Operator>1</Operator>
  <Page>4</Page>
  <PageSize>5</PageSize>
  <Partner>2</Partner>
  <Pos>3</Pos>
  <PosName>sample string 9</PosName>
  <PurchasesLess>sample string 11</PurchasesLess>
  <PurchasesMore>sample string 10</PurchasesMore>
  <RedeemedLess>sample string 15</RedeemedLess>
  <RedeemedMore>sample string 14</RedeemedMore>
</BookkeepingRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportResponse
NameDescriptionTypeAdditional 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>