Search Pass Resopnse Structure
Core Block
| Attribute | Type | Description |
|---|---|---|
| adults | Integer | Number of adults traveling. |
| children | Integer | Number of children traveling. |
| senior_citizens | Integer | Number of senior citizens traveling. |
| children_ages | Array(Integer) | Ages of children traveling, e.g., []. |
| departure_date | String | Date of departure, e.g., "2024-08-20". |
| client_nationality | String | Nationality of the client, e.g., "IN". |
| search_id | String | Unique search identifier, e.g., "prpicnw7cjcurtuj7ffgpevu6m". |
| destination_code | String or Null | Destination code, can be null. |
| pass_rates | Array(PassRate) | List of pass rate details, see PassRate table. |
PassRate Attributes Table
| Attribute | Type | Description |
|---|---|---|
| currency | String | Currency code, e.g., "INR". |
| rate_comments | Object | Variable rate comments object. Variable from rate to rate |
| group_code | String | Group code, e.g., "qoqrnzlpxzdxrhyt7pnte". |
| payment_type | Array(String) | Payment types available, e.g., ["AT_WEB"]. |
| rate_key | String | Unique rate key, e.g., "ugprp5zlxkdafeiofkaejfkhwafklfdfxwef" |
| price_details | Oject(PriceDetail) | Price categories with list of price deails, see PriceDetail table. |
| price | Float | Total price, e.g., 456.81. |
| pass_info | PassInfo | Information about the pass, see PassInfo table. |
| credit_deduction | String | Credit deduction type, e.g., "immediate". |
| non_refundable | Boolean | Indicates if non-refundable, e.g., true. |
| rate_type | String | Rate type, e.g., "bookable". |
| pass_code | String | Unique pass code, e.g., "4tffhkrq5mrcppzs2a". |
PriceDetail Attributes Table
| Attribute | Type | Description |
|---|---|---|
| name | String | Name of the price detail, e.g., "SupplierPrice". |
| currency | String | Currency code, e.g., "INR". |
| included | Boolean | Indicates if included, e.g., true. |
| amount_type | String | Type of amount, e.g., "value". |
| amount | Float | Amount value, e.g., 45680.39. |
PassInfo Attributes Table
| Attribute | Type | Description |
|---|---|---|
| carrier | String | Carrier name, e.g., "EURAIL". |
| class | String | Class of travel, e.g., "2". |
| duration | String | Duration of the pass, e.g., "04 Days / Within a Month". |
| duration_validity | String | Duration validity, e.g., "P1M". |
| pass_name | String | Name of the pass, e.g., "Eurail Global Mobile Pass Flex". |
| pass_type | String | Type of the pass, e.g., "Within a Month". |
| pass_type_validity | String | Validity period of the pass, e.g., "Fri, 07 Jun thru Tue, 06 May 2025". |
| pass_validity | String | Validity of the pass, e.g., "04 Days / Within a Month". |
| validity_end_date | String | End date of validity, e.g., "202224-06-11". |
| validity_start_date | String | Start date of validity, e.g., "2024-06-07". |
Sample Response for Pass
{
"children": 0,
"search_id": "prpicnw7cjcurtuj7ffgpevu6m",
"destination_code": null,
"pass_rates": [
{
"currency": "INR",
"rate_comments": {
"obj_remarks_list": null
},
"group_code": "qoqrnzlpxzdxrhyt7pnte",
"payment_type": ["AT_WEB"],
"rate_key": "ugprp5zlxv7hxdytxgnggf644xlkrx5o7k76puds2eyv3pv3johw74fnprpxrpxrraegzxhdtaltidlwwwqvakmg26ug5sezto7xbgevwsex3xisr4ttyntviv3lmzqr3clcdytueymq",
"price_details": {
"net": [
{
"name": "SupplierPrice",
"currency": "INR",
"included": true,
"amount_type": "value",
"amount": 45680.39
},
{
"name": "Total",
"currency": "INR",
"included": true,
"amount_type": "value",
"amount": 45680.39
}
]
},
"price": 45681,
"pass_info": {
"carrier": "EURAIL",
"class": "2",
"duration": "04 Days / Within a Month",
"duration_validity": "P1M",
"pass_name": "Eurail Global Mobile Pass Flex",
"pass_type": "Within a Month",
"pass_type_validity": "Fri, 07 Jun thru Tue, 06 May 2025",
"pass_validity": "04 Days / Within a Month",
"validity_end_date": "",
"validity_start_date": "2024-06-07"
},
"credit_deduction": "immediate",
"non_refundable": true,
"rate_type": "bookable",
"pass_code": "4tffhkrq5mrcppzs2a"
},
{
"currency": "INR",
"rate_comments": {
"obj_remarks_list": null
},
"group_code": "qoqrnzlpxzdxrhyt7pnte",
"payment_type": ["AT_WEB"],
"rate_key": "ugprp5zlxv7hxdytxgngkf6443j2xx5a7o76puds2eyv3pv3johw74fnprpxrpxrraegzxhdtaltidlwwwqvakmg26ug5sezto7xbgevwsex3xisr4ttyntviv3lmzqr3clcdytueymq",
"price_details": {
"net": [
{
"name": "SupplierPrice",
"currency": "INR",
"included": true,
"amount_type": "value",
"amount": 51284.4
},
{
"name": "Total",
"currency": "INR",
"included": true,
"amount_type": "value",
"amount": 51284.4
}
]
},
"price": 51285,
"pass_info": {
"carrier": "EURAIL",
"class": "2",
"duration": "05 Days / Within a Month",
"duration_validity": "P1M",
"pass_name": "Eurail Global Mobile Pass Flex",
"pass_type": "Within a Month",
"pass_type_validity": "Fri, 07 Jun thru Tue, 06 May 2025",
"pass_validity": "05 Days / Within a Month",
"validity_end_date": "",
"validity_start_date": "2024-06-07"
},
"credit_deduction": "immediate",
"non_refundable": true,
"rate_type": "bookable",
"pass_code": "47hvbkr65ircppzs2a"
}
],
"adults": 1,
"children_ages": [],
"senior_citizens": 1,
"client_nationality": "IN"
}