Use the id field as parameter for other queries

Examples

GET /api/v1/service-types
{
  "token": "valid_token"
}
200
{
  "total": 3,
  "page": 1,
  "per_page": 3,
  "results": [
    {
      "id": "service-type-a",
      "name": "Service Type A",
      "market": "market-10"
    },
    {
      "id": "service-type-b",
      "name": "Service Type B",
      "market": "market-12"
    },
    {
      "id": "service-type-c",
      "name": "Service Type C",
      "market": "market-12"
    }
  ]
}
GET /api/v1/service-types
{
  "token": "invalid_token"
}
401
{
  "error": "unauthorized"
}

Supported Formats

json

Errors

401 Unauthorized