POST api/VPOS/GetPendingTransactions

Get Pending Transactions

Request Information

URI Parameters

None.

Body Parameters

GetPendingTransactionsRequest
NameDescriptionTypeAdditional information
ClientID

string

None.

Username

string

None.

Password

string

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "StartDate": "2024-11-25T02:20:32.5194485+04:00",
  "EndDate": "2024-11-25T02:20:32.5194485+04:00"
}

application/xml, text/xml

Sample:
<GetPendingTransactionsRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ClientID>sample string 1</ClientID>
  <Username>sample string 2</Username>
  <Password>sample string 3</Password>
  <StartDate>2024-11-25T02:20:32.5194485+04:00</StartDate>
  <EndDate>2024-11-25T02:20:32.5194485+04:00</EndDate>
</GetPendingTransactionsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetPendingTransactionsRequest'.

Response Information

Resource Description

Collection of GetPendingTransactionsResponse
NameDescriptionTypeAdditional information
OrderId

integer

None.

ClientName

string

None.

CardNumber

string

None.

Amount

decimal number

None.

PaymentDate

date

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderId": 1,
    "ClientName": "sample string 2",
    "CardNumber": "sample string 3",
    "Amount": 4.0,
    "PaymentDate": "2024-11-25T02:20:32.5663188+04:00",
    "ErrorMessage": "sample string 6"
  },
  {
    "OrderId": 1,
    "ClientName": "sample string 2",
    "CardNumber": "sample string 3",
    "Amount": 4.0,
    "PaymentDate": "2024-11-25T02:20:32.5663188+04:00",
    "ErrorMessage": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetPendingTransactionsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GetPendingTransactionsResponse>
    <OrderId>1</OrderId>
    <ClientName>sample string 2</ClientName>
    <CardNumber>sample string 3</CardNumber>
    <Amount>4</Amount>
    <PaymentDate>2024-11-25T02:20:32.5663188+04:00</PaymentDate>
    <ErrorMessage>sample string 6</ErrorMessage>
  </GetPendingTransactionsResponse>
  <GetPendingTransactionsResponse>
    <OrderId>1</OrderId>
    <ClientName>sample string 2</ClientName>
    <CardNumber>sample string 3</CardNumber>
    <Amount>4</Amount>
    <PaymentDate>2024-11-25T02:20:32.5663188+04:00</PaymentDate>
    <ErrorMessage>sample string 6</ErrorMessage>
  </GetPendingTransactionsResponse>
</ArrayOfGetPendingTransactionsResponse>