Skip to content

List of Airports using pagination

GET
/api/v1/Airport/pagedList

This endpoint returns a list of Airports using pagination including page, pagesize, total records and data, example api/v1/airport/pagedList?page=1&pagesize=10

Parameters

Query Parameters

SortBy
Typestring
SortDirection
Typestring
Page*
Typeinteger
Required
Format"int32"
PageSize*
Typeinteger
Required
Format"int32"

Responses

Success

application/json
JSON
{
"page": 0,
"pageSize": 0,
"totalRecords": 0,
"pageCount": 0,
"data": [
{
"id": 0,
"name": "string",
"iataCode": "string",
"oaciCode": "string",
"type": "string",
"deparmentId": 0,
"department": "[Circular Reference]",
"cityId": 0,
"city": "[Circular Reference]",
"latitude": 0,
"longitude": 0
}
]
}

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

MIT License