SmartGare
API referenceEndpoints

Resume a paused route

The route runs again from a day, today when none is given: the pause ends the day before, or is withdrawn when it had not started. It is kept. **Required permission:** `referential.itinerary:write`

POST/referential/v1/route-pauses/{pauseId}/resumption

The route runs again from a day, today when none is given: the pause ends the day before, or is withdrawn when it had not started. It is kept.

Required permission: referential.itinerary:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ResumeRouteRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/route-pauses/{pauseId}/resumption" \  -H "Content-Type: application/json" \  -d '{}'
{  "ends_on": "2019-08-24",  "id": "string",  "resumed_at": "2019-08-24T14:15:22Z",  "resumed_by": "string",  "resumes_on": "2019-08-24",  "starts_on": "2019-08-24",  "withdrawn": true}