GET api/Payments/UnloadDataPayments?centerNumber={centerNumber}&flagUnloadConfirm={flagUnloadConfirm}&flagChangedAll={flagChangedAll}&dateFrom={dateFrom}&dateTo={dateTo}

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

Request Information

URI Parameters

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

integer

Required

flagUnloadConfirm

выгрузка (0) / подтверждение выгрузки (1)

byte

Required

flagChangedAll

только новые/измененные (0) / все (1)

byte

Required

dateFrom

date

Required

dateTo

date

Required

Body Parameters

None.

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

Resource Description

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

integer

None.

ContractUNP

string

None.

PaymentNumber

string

None.

PaymentInDate

date

None.

PaymentRegisterDate

date

None.

PaymentSumma

decimal number

None.

PaymentComments

string

None.

PaymentFlagNoBank

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ContractNumber": 1,
    "ContractUNP": "sample string 2",
    "PaymentNumber": "sample string 3",
    "PaymentInDate": "2025-04-03T03:32:04.9947966+03:00",
    "PaymentRegisterDate": "2025-04-03T03:32:04.9947966+03:00",
    "PaymentSumma": 6.0,
    "PaymentComments": "sample string 7",
    "PaymentFlagNoBank": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnloadDataPayments_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Center.Web.Data">
  <UnloadDataPayments_Result z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ContractNumber>1</ContractNumber>
    <ContractUNP>sample string 2</ContractUNP>
    <PaymentComments>sample string 7</PaymentComments>
    <PaymentFlagNoBank>true</PaymentFlagNoBank>
    <PaymentInDate>2025-04-03T03:32:04.9947966+03:00</PaymentInDate>
    <PaymentNumber>sample string 3</PaymentNumber>
    <PaymentRegisterDate>2025-04-03T03:32:04.9947966+03:00</PaymentRegisterDate>
    <PaymentSumma>6</PaymentSumma>
  </UnloadDataPayments_Result>
  <UnloadDataPayments_Result z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfUnloadDataPayments_Result>

text/csv

Sample:
ContractNumber;ContractUNP;PaymentNumber;PaymentInDate;PaymentRegisterDate;PaymentSumma;PaymentComments;PaymentFlagNoBank;
1;sample string 2;sample string 3;03.04.2025 3:32;03.04.2025 3:32;6;sample string 7;True;
1;sample string 2;sample string 3;03.04.2025 3:32;03.04.2025 3:32;6;sample string 7;True;