GET api/Payments/GetCenterPayments?centerNumber={centerNumber}&dateFrom={dateFrom}&dateTo={dateTo}

получить список платежей по указанному сентру

Request Information

URI Parameters

НаименованиеОписаниеТипДополнительная информация
centerNumber

integer

Required

dateFrom

date

Required

dateTo

date

Required

Body Parameters

None.

Информация о ответе

Resource Description

Collection of PaymentInfo
НаименованиеОписаниеТипДополнительная информация
ContractNumber

Договор

unsigned integer

None.

Unp

Унп

string

None.

PaymentInDate

Дата платежа

string

None.

PaymentNumber

Номер платежа

string

None.

RegisterDate

дата регистраци платежа

string

None.

Account

расчетный счет

string

None.

BankCode

код банка

string

None.

PaymentComments

Комментарий

string

None.

PaymentSumma

Сумма

decimal number

None.

CurrencyIsoName

валюта платежа

string

None.

PaymentGround

назначение платежа

string

None.

PaymentRecipient

получатель средств

string

None.

PaymentFlags

флаги платежа

integer

None.

PaymentFlagNoBank

признак внебанковского платежа

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContractNumber": 1,
    "Unp": "sample string 2",
    "PaymentInDate": "sample string 3",
    "PaymentNumber": "sample string 4",
    "RegisterDate": "sample string 5",
    "Account": "sample string 6",
    "BankCode": "sample string 7",
    "PaymentComments": "sample string 8",
    "PaymentSumma": 9.1,
    "CurrencyIsoName": "sample string 10",
    "PaymentGround": "sample string 11",
    "PaymentRecipient": "sample string 12",
    "PaymentFlags": 13,
    "PaymentFlagNoBank": true
  },
  {
    "ContractNumber": 1,
    "Unp": "sample string 2",
    "PaymentInDate": "sample string 3",
    "PaymentNumber": "sample string 4",
    "RegisterDate": "sample string 5",
    "Account": "sample string 6",
    "BankCode": "sample string 7",
    "PaymentComments": "sample string 8",
    "PaymentSumma": 9.1,
    "CurrencyIsoName": "sample string 10",
    "PaymentGround": "sample string 11",
    "PaymentRecipient": "sample string 12",
    "PaymentFlags": 13,
    "PaymentFlagNoBank": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes">
  <PaymentInfo>
    <Account>sample string 6</Account>
    <BankCode>sample string 7</BankCode>
    <ContractNumber>1</ContractNumber>
    <CurrencyIsoName>sample string 10</CurrencyIsoName>
    <PaymentComments>sample string 8</PaymentComments>
    <PaymentFlagNoBank>true</PaymentFlagNoBank>
    <PaymentFlags>13</PaymentFlags>
    <PaymentGround>sample string 11</PaymentGround>
    <PaymentInDate>sample string 3</PaymentInDate>
    <PaymentNumber>sample string 4</PaymentNumber>
    <PaymentRecipient>sample string 12</PaymentRecipient>
    <PaymentSumma>9.1</PaymentSumma>
    <RegisterDate>sample string 5</RegisterDate>
    <Unp>sample string 2</Unp>
  </PaymentInfo>
  <PaymentInfo>
    <Account>sample string 6</Account>
    <BankCode>sample string 7</BankCode>
    <ContractNumber>1</ContractNumber>
    <CurrencyIsoName>sample string 10</CurrencyIsoName>
    <PaymentComments>sample string 8</PaymentComments>
    <PaymentFlagNoBank>true</PaymentFlagNoBank>
    <PaymentFlags>13</PaymentFlags>
    <PaymentGround>sample string 11</PaymentGround>
    <PaymentInDate>sample string 3</PaymentInDate>
    <PaymentNumber>sample string 4</PaymentNumber>
    <PaymentRecipient>sample string 12</PaymentRecipient>
    <PaymentSumma>9.1</PaymentSumma>
    <RegisterDate>sample string 5</RegisterDate>
    <Unp>sample string 2</Unp>
  </PaymentInfo>
</ArrayOfPaymentInfo>

text/csv

Sample:
ContractNumber;Unp;PaymentInDate;PaymentNumber;RegisterDate;Account;BankCode;PaymentComments;PaymentSumma;CurrencyIsoName;PaymentGround;PaymentRecipient;PaymentFlags;PaymentFlagNoBank;
1;sample string 2;sample string 3;sample string 4;sample string 5;sample string 6;sample string 7;sample string 8;9,1;sample string 10;sample string 11;sample string 12;13;True;
1;sample string 2;sample string 3;sample string 4;sample string 5;sample string 6;sample string 7;sample string 8;9,1;sample string 10;sample string 11;sample string 12;13;True;