Get a location list
GET the location list with pagination.
GET
/v1/locations/authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
Query Parameters
app?string
POS application
Value in
"POPINA" | "JALIA"legacyId?integer
Legacy backoffice identifier
Range
1 <= valueindex?integer
Index of the page query parameter
Default
0Range
0 <= valuesize?integer
Number of record on a page query parameter (capped to 100)
Default
10Range
1 <= value <= 100Response Body
application/json
curl -X GET "https://api.pragma-project.dev/v1/locations/"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"application": "POPINA",
"legacyId": -9007199254740991
}
],
"meta": {
"totalPage": 0,
"totalCount": 0,
"currentPageIndex": 0,
"pageSize": 0,
"hiddenByFilterCount": 0
},
"links": {
"self": "string",
"first": "string",
"last": "string",
"next": "string",
"prev": "string"
},
"nextPageToken": "string"
}