post
https://api.premote.io/v1/trips//risk-assessment/todos
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400optionId is missing, or the trip has more than one leg and no legId was given
403The caller is not an admin or may not view this trip
404Unknown trip id or leg, or no way to cover with this id is stored for the assessment
409The risk assessment of the trip is still running
