SmartGare
API referenceEndpoints

Search coordinations

**Required permission:** `referential.coordination:read`

GET/referential/v1/coordinations

Required permission: referential.coordination:read

AuthorizationBearer <token>

In: header

Query Parameters

search?string

Matches part of a code or a name.

status?string

Coordination lifecycle status.

Value in

  • "ACTIVE"
  • "RETIRED"
page?integer

Zero-based page index.

Formatint32
Range0 <= value
size?integer

Page size, at most 100.

Formatint32
Range0 <= value <= 100

Response Body

*/*

curl -X GET "https://example.com/referential/v1/coordinations"
{  "data": [    {      "bay_id": "string",      "bay_ids": [        "string"      ],      "code": "string",      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "name": "string",      "reference_day": "2019-08-24",      "rotation_day_starts_at": "string",      "status": "string",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "page": 0,  "size": 0,  "total": 0}