SmartGare
API referenceEndpoints

Settle one departure of a timetable impact case

**Required permission:** `traffic.departure:write`

POST/traffic/v1/timetable-impacts/{id}/departures/{departureId}/outcome

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*SettleTimetableImpactRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/traffic/v1/timetable-impacts/string/departures/{departureId}/outcome" \  -H "Content-Type: application/json" \  -d '{    "outcome": "KEEP",    "reason": "string"  }'
{  "closed": true,  "decided_at": "2019-08-24T14:15:22Z",  "decided_by": "string",  "departure_id": "string",  "outcome": "string",  "timetable_impact_id": "string"}