-
Notifications
You must be signed in to change notification settings - Fork 0
Search offers request & delivery (overarching) - 20260702 #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Search Offers Request - delivery | ||
|
|
||
| _Required items_ | ||
|
|
||
| | object | description | | ||
| | --- | --- | | ||
| | SEARCH OFFERS REQUEST | The search request | | ||
| | SEARCH OFFERS DELIVERY | The accompaning response | | ||
|
|
||
| ## SEARCH OFFERS REQUEST DETAILS | ||
|
|
||
| | field | type | optional/conditions | description | | ||
| | --- | --- | --- | --- | | ||
| | requestId | string | condition: a-sync | a unique ID, the response to this request MUST have the same ID (in case of a-sync call) | | ||
| | travellers | List of travellingEntities | required | See the 'Who' part | | ||
| | trip | Trip | required | See the 'What' part | | ||
| | filters | List of Filters | optional | See the PR of the 'What' part | | ||
| | amendingOfferedPackageRef | string | conditional | (policy) only to be used in the 'amend' phase, where additional offers can be searched | | ||
| | contentLanguage | string | optional | (policy) The language/localization of user-facing content, One IETF BCP 47 (RFC 5646) language tag. If missing, the local accepted language | | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clemens: This should be a list.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarification: it should be a list of values. |
||
| | currency | string | optional | (policy) The currency to be used in the response. If the requested currency is not available, return the local valuta | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: usually, only one currency (the one of the distributor) is allowed. However, some systems can have other currencies displayed
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the other displayed currency is for information and additionaly to the main one from the distributor. |
||
|
|
||
| ### Example (indicative) | ||
|
|
||
| ```json | ||
| { | ||
| "requestId": "32490-df324", | ||
| "trip": { | ||
| ... see the 'what' part ... | ||
| }, | ||
| "travellers": [ | ||
| { ... see the 'who' part ... } | ||
| ], | ||
| "filters": [ | ||
| { "exclude": false, | ||
| "filterType": "distribution", | ||
| "fulfillmentMethod": "mobile" | ||
| } | ||
| ] | ||
| } | ||
| ``` | ||
|
|
||
| ## SEARCH OFFER DELIVERY DETAILS | ||
|
|
||
| See the 'Search offers - Delivery' part | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stalled, until the BUC comes in