trainline.journey.load
View connectorLoad selected Trainline journey and payment offers
POST /v1/operations/trainline.journey.loadNot available · draft. Examples are illustrative and do not execute requests.
Inputs
| Parameter | Example type | Example value |
|---|---|---|
| search_id | string | "00000000-0000-0000-0000-000000000000" |
| alternative_ids | array | ["11111111-1111-1111-1111-111111111111"] |
Example input
{
"search_id": "00000000-0000-0000-0000-000000000000",
"alternative_ids": [
"11111111-1111-1111-1111-111111111111"
]
}Input schema
{
"$id": "https://priv-platform.local/connectors/trainline/journey-load.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"alternative_ids": {
"items": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"search_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"search_id",
"alternative_ids"
],
"title": "Trainline journey-load input",
"type": "object"
}