Get the risk assessment of a trip that is not saved yet

The risk assessment view for the trip wizard: the same summary, areas, evidence and legal background as GET /trips/{id}/risk-assessment, built from a pre-booking assessment (POST /risk-rules/{countryIsoCode}/assessment) and the trip values before the trip exists.

Nothing is stored. tripId is null, nobody can edit answers, and what needs a saved trip is left out: to-dos, workflow runs and the entry-options lookup. The filings are the ones premote would run for the trip after approval. Callable for yourself, or by an admin, travel manager or personal assistant for a traveler in their scope.

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

The traveler the trip is planned for

Body Params
string
enum
required

The type of the trip being planned.

Allowed:
values
object
required

The trip values keyed by trip field key, as the wizard sends them to the assessment: origin, destination, start_date and end_date, plus the client and address fields the own-company check reads. For a stop of a multi-destination trip, its own destination and dates.

assessment
object
required

The result POST /risk-rules/{countryIsoCode}/assessment returned for this traveler (overall_risk and riskAreas), sent back unchanged.

userAnswers
object

The answers given in the wizard, keyed by the tree node fieldKey.

Responses

400

The body is invalid, or assessment is not a decision-tree result

403

The caller may not plan trips for this traveler (another user, outside their scope)

404

The traveler is not a user of the company

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