POST api/values/PartnerFullInfo

Получение полной информации по Партнёру за период

Request Information

URI Parameters

None.

Body Parameters

PartnerFullInfoRequest
NameDescriptionTypeAdditional information
Partner

integer

None.

Start_date

date

None.

End_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Partner": 1,
  "Start_date": "2022-08-20T00:21:17.5796845+03:00",
  "End_date": "2022-08-20T00:21:17.5796845+03:00"
}

application/xml, text/xml

Sample:
<PartnerFullInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <End_date>2022-08-20T00:21:17.5796845+03:00</End_date>
  <Partner>1</Partner>
  <Start_date>2022-08-20T00:21:17.5796845+03:00</Start_date>
</PartnerFullInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PartnerFullInfoResponse
NameDescriptionTypeAdditional information
ErrorCode

код ошибки

integer

None.

Message

сообщение об ошибке

string

None.

Clients

integer

None.

Clients_all

integer

None.

Purchases

integer

None.

PurchaseSum

decimal number

None.

Refunds

integer

None.

RefundSum

decimal number

None.

SpentSum

decimal number

None.

Charged

decimal number

None.

Redeemed

decimal number

None.

ChargeRefund

decimal number

None.

RedeemRefund

decimal number

None.

Balance

баланс бонусных баллов

decimal number

None.

PurchasesClient

integer

None.

PurchaseSumClient

decimal number

None.

RefundsClient

integer

None.

RefundSumClient

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "Message": "sample string 2",
  "Clients": 3,
  "Clients_all": 4,
  "Purchases": 5,
  "PurchaseSum": 6.0,
  "Refunds": 7,
  "RefundSum": 8.0,
  "SpentSum": 9.0,
  "Charged": 10.0,
  "Redeemed": 11.0,
  "ChargeRefund": 12.0,
  "RedeemRefund": 13.0,
  "Balance": 14.0,
  "PurchasesClient": 15,
  "PurchaseSumClient": 16.0,
  "RefundsClient": 17,
  "RefundSumClient": 18.0
}

application/xml, text/xml

Sample:
<PartnerFullInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Balance>14</Balance>
  <ChargeRefund>12</ChargeRefund>
  <Charged>10</Charged>
  <Clients>3</Clients>
  <Clients_all>4</Clients_all>
  <ErrorCode>1</ErrorCode>
  <Message>sample string 2</Message>
  <PurchaseSum>6</PurchaseSum>
  <PurchaseSumClient>16</PurchaseSumClient>
  <Purchases>5</Purchases>
  <PurchasesClient>15</PurchasesClient>
  <RedeemRefund>13</RedeemRefund>
  <Redeemed>11</Redeemed>
  <RefundSum>8</RefundSum>
  <RefundSumClient>18</RefundSumClient>
  <Refunds>7</Refunds>
  <RefundsClient>17</RefundsClient>
  <SpentSum>9</SpentSum>
</PartnerFullInfoResponse>