GET
/api/v1/references/posesGet POSes
POS (Point of sale) is a region or a country from which the fares are to be extracted from. For example an airline based out of Europe may be interested in European POS to see the same prices as their European customers.
The GET /references/poses API endpoint provides a complete list of points of sale (POS) available in our system. Users can access this endpoint to obtain the complete list of country, city and code of all POS available in our system.
The GET /references/poses API endpoint provides a complete list of points of sale (POS) available in our system. Users can access this endpoint to obtain the complete list of country, city and code of all POS available in our system.
GET
/api/v1/references/posesParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page | query | integer | Optional | The page number to retrieve. |
size | query | integer | Optional | The number of items to be displayed per page. |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | |
| 400 | Bad Request | Request data failed validation(s) | None |
| 401 | Unauthorized | Authentication Failed! | None |
| 429 | Too Many Requests | Too Many Requests. | None |
| 500 | Internal Server Error | Internal Server Error | None |
Example Request
# You can also use wget
curl -X GET /api/v1/references/poses \
-H 'Accept: application/json' \
-H 'Authorization: API_KEY'
Example responses
200 Response
{
"error": false,
"posses": [
{
"_id": "64007076257289970c6db570",
"posCode": 0,
"code": "POS/0",
"region": "Asia",
"countryCode": "IN",
"countryName": "India",
"isActiveStatus": true,
"id": "63ff432ce2276fc08e64f794"
}
],
"totalData": 10282,
"totalPages": 10282,
"page": 1,
"size": 1
}
Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.