Search with transport
- Transport
- 4 routes
How do I search proposals and apply another transport option?
This scenario explains how to search a proposal with transport, inspect the transport currently attached to it, compare alternatives, and apply the selected option. It fits shopping and proposal-adjustment journeys with transportation changes.
The flow starts from proposal search, then reuses the proposal_id to inspect, compare, and update transport details.
Overview
This scenario helps an application manage transportation choices on a proposal that already includes transport context.
Prerequisites
- The criteria needed to create a transport-enabled proposal.
- A valid
accept-languageheader andx-api-key. - The
proposal_idreturned by the search step to continue the transport flow.
Expected result
The application can display the current itinerary, compare available alternatives, and apply the selected transport to the proposal before the rest of the sales journey continues.
Process workflow
Legend:
Mandatory
Optional
1
Search transport-enabled proposals
Mandatory
POST/v3/proposals/search
S2
Inspect the current transport details
Mandatory
GET/v5/proposals/{proposal_id}/transport_details
S3
List the applied and alternative transports
Mandatory
POST/v1/proposals/{proposal_id}/available_transports
S4
Apply the selected transport
Mandatory
POST/v5/proposals/{proposal_id}/transport_details
S