Name the bay dedicated to a coordination
Records which bay this coordination's coaches leave from (RG-223). The bay must exist and be active, and is dedicated to one active coordination at a time. The same bay again changes nothing; a change keeps the previous bay in the coordination's bay history with who, when and why. It is the first of the coordination's reserved bays; the others stay after it. **Required permission:** `referential.coordination:write`
/referential/v1/coordinations/{id}/bayRecords which bay this coordination's coaches leave from (RG-223). The bay must exist and be active, and is dedicated to one active coordination at a time. The same bay again changes nothing; a change keeps the previous bay in the coordination's bay history with who, when and why. It is the first of the coordination's reserved bays; the others stay after it.
Required permission: referential.coordination:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X PUT "https://example.com/referential/v1/coordinations/string/bay" \ -H "Content-Type: application/json" \ -d '{ "bay_id": "string", "reason": "string" }'{ "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"}Release the bay dedicated to a coordination
Frees the bay, and every other bay the coordination reserves, so each can be dedicated to another coordination or decommissioned. A coordination that names no bay is answered as it is. A release keeps the freed bay in the coordination's bay history with who, when and why. **Required permission:** `referential.coordination:write`
List a coordination's bay history
Returns each change of the coordination's bay, oldest first: the bay it held and since when, the bay it holds after, who changed it, when and why. One bounded page at a time. **Required permission:** `referential.coordination:read`