Retrieving Location Providers Data

To retrive a location provider with its id we need to do a GET request to /locationProviders/<Location Provider ID>

Required Permission

can-retrieve-location-providers

See Auth* (scopes).

Request

Retrive location provider by id:

GET /locationProviders/68144875-24e5-4a31-ae74-f0924d2c513e

Response

If location provider found:

HTTP/1.1 200 OK
{
  "id": "68144875-24e5-4a31-ae74-f0924d2c513e",
  "name": "Test",
  "details": "{\"tag\":\"test\"}",
  "locationsSource": {
    "endpoint": "http://remote-locations"
  },
  "archivingPeriod": 7
}

Failure

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Location provider does not exist or doesn't have locations:

HTTP/1.1 404 NOT FOUND

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""