GET api_v2/Accounts/GetPayment?accountId={accountId}&startPeriod={startPeriod}&endPeriod={endPeriod}&type={type}

Получить счет для аккаунта по фильтру

Request Information

Parameters

NameDescriptionAdditional information
accountId
Идентификатор аккаунта

Define this parameter in the request URI.

startPeriod
Начальный период поиска счета

Define this parameter in the request URI.

endPeriod
Конечный период поиска счета

Define this parameter in the request URI.

type
Тип счета

Define this parameter in the request URI.

Response Information

Счет аккаунта

Response body formats

application/xml, text/xml

Sample:
<Result>
  <Id>c0cd0639-0890-41db-bbd6-e1be03140809</Id>
  <Date>2021-01-24T22:10:50.7727449+03:00</Date>
  <Sum>3</Sum>
  <InvoiceNumber>sample string 4</InvoiceNumber>
  <Requisite>sample string 5</Requisite>
  <Description>sample string 6</Description>
  <Comment>sample string 7</Comment>
  <State>sample string 8</State>
  <AccountId>2b4f964c-09e4-4b04-8360-49708736328d</AccountId>
  <Uniq>sample string 10</Uniq>
  <Currency>sample string 11</Currency>
</Result>

application/json, text/json

Sample:
{
  "Id": "c0cd0639-0890-41db-bbd6-e1be03140809",
  "Date": "2021-01-24T22:10:50.7727449+03:00",
  "Sum": 3.0,
  "InvoiceNumber": "sample string 4",
  "Requisite": "sample string 5",
  "Description": "sample string 6",
  "Comment": "sample string 7",
  "State": "sample string 8",
  "AccountId": "2b4f964c-09e4-4b04-8360-49708736328d",
  "Uniq": "sample string 10",
  "Currency": "sample string 11"
}