SmartGare
API referenceEndpoints

Close a timetable impact case by hand

Closes a case whose holders have not all confirmed, with the planner's reason, kept as an exception with who and when. The confirmations still missing stay missing. **Required permission:** `traffic.departure:write`

POST/traffic/v1/timetable-impacts/{id}/closure

Closes a case whose holders have not all confirmed, with the planner's reason, kept as an exception with who and when. The confirmations still missing stay missing.

Required permission: traffic.departure:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*CloseTimetableImpactByHandRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/traffic/v1/timetable-impacts/string/closure" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "closed_at": "2019-08-24T14:15:22Z",  "closed_by": "string",  "exception_reason": "string",  "missing": [    "string"  ],  "timetable_impact_id": "string"}