Add the steps of a way to cover to the trip to-dos

Creates one to-do per step of a way to cover the trip from the immigration area (evidence.waysToCover[].steps), noted with the area and the way. Steps the traveler takes are assigned to the traveler, the employer's stay unassigned. Steps that already are to-dos of the trip, open or done, are skipped, so calling it twice adds nothing. The company's TODO_ADDED workflows run for each new to-do. Admin-only.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Trip ID

Body Params
string
required

The way to cover whose steps become to-dos: id of an entry in the immigration area's evidence.waysToCover.

number

Multi-destination trips: the journey leg whose cards are meant. Required when the trip has more than one leg.

Responses

400

optionId is missing, or the trip has more than one leg and no legId was given

403

The caller is not an admin or may not view this trip

404

Unknown trip id or leg, or no way to cover with this id is stored for the assessment

409

The risk assessment of the trip is still running

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json