DaaS API
Docs & Playground
Reference/Groups by id

Groups by idtoken required

One record from groups. 404 when there is no such id.

GET/daas/v1/groups/{id}

Parameters

NameTypeRequiredDescription
idstringrequiredThe record id.e.g. 1-56352

Request

curl
curl 'https://private.stage.questar.io/v2/private-questar-units/daas/v1/groups/1-56352' \
  -H 'Authorization: Bearer YOUR_TOKEN'
URL
GET https://private.stage.questar.io/v2/private-questar-units/daas/v1/groups/1-56352

Response

200 OK
{
  "id": "1-56352",
  "name": "North depot",
  "description": "",
  "reference": "",
  "childIds": [
    "1-56353"
  ]
}

Errors use HTTP status codes with a body of { error: { code, message } }: 400 a bad parameter, 401 a missing or invalid token, 404 no record with that id, 500 a server error.

400 Bad Request
{
  "error": {
    "code": "bad_request",
    "message": "History is limited to 24 hours per call"
  }
}