GET api/Payment/GetAllPayments?from={from}&size={size}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| from | integer |
Required |
|
| size | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfPaymentResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ResponseType | PaymentResponseModel |
None. |
|
| ErrorMessageList | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"StatusCode": 100,
"ResponseType": {
"Count": 1,
"TotalTokenAmount": 2.0,
"TotalTokensPurchased": 3,
"Details": [
{
"Id": 1,
"AirlineId": 2,
"AirlineCode": "sample string 3",
"AirlineName": "sample string 4",
"CurrentToken": 5,
"Token": 6,
"Amount": 7.0,
"InvoiceNumber": "sample string 8",
"CreatedDate": "2026-05-31T10:34:09.1223883+00:00",
"PaymentDate": "2026-05-31T10:34:09.1223883+00:00",
"Location": "sample string 11",
"AirportCode": "sample string 12"
},
{
"Id": 1,
"AirlineId": 2,
"AirlineCode": "sample string 3",
"AirlineName": "sample string 4",
"CurrentToken": 5,
"Token": 6,
"Amount": 7.0,
"InvoiceNumber": "sample string 8",
"CreatedDate": "2026-05-31T10:34:09.1223883+00:00",
"PaymentDate": "2026-05-31T10:34:09.1223883+00:00",
"Location": "sample string 11",
"AirportCode": "sample string 12"
}
]
},
"ErrorMessageList": [
"sample string 1",
"sample string 2"
]
}
multipart/form-data
Sample:
{"IsSuccess":true,"StatusCode":100,"ResponseType":{"Count":1,"TotalTokenAmount":2.0,"TotalTokensPurchased":3,"Details":[{"Id":1,"AirlineId":2,"AirlineCode":"sample string 3","AirlineName":"sample string 4","CurrentToken":5,"Token":6,"Amount":7.0,"InvoiceNumber":"sample string 8","CreatedDate":"2026-05-31T10:34:09.1223883+00:00","PaymentDate":"2026-05-31T10:34:09.1223883+00:00","Location":"sample string 11","AirportCode":"sample string 12"},{"Id":1,"AirlineId":2,"AirlineCode":"sample string 3","AirlineName":"sample string 4","CurrentToken":5,"Token":6,"Amount":7.0,"InvoiceNumber":"sample string 8","CreatedDate":"2026-05-31T10:34:09.1223883+00:00","PaymentDate":"2026-05-31T10:34:09.1223883+00:00","Location":"sample string 11","AirportCode":"sample string 12"}]},"ErrorMessageList":["sample string 1","sample string 2"]}