Pass Request
Method : POST
URL : /api/rail/search/pass
Core Block
| Attribute | Type | Required | Description |
|---|---|---|---|
| adults | Integer | Required | Number of adults traveling. In the example, there is 1 adult. |
| children | Integer | Required | Number of children traveling. In the example, there is 1 child. |
| senior_citizens | Integer | Required | Number of senior citizens traveling. In the example, there is 1 senior citizen. |
| children_ages | Array(Integer) | Required | Ages of children traveling. In the example, the child is 8 years old. |
| departure_date | String | Required | Date of departure in "YYYY-MM-DD" format, e.g., "2024-08-20". |
| client_nationality | String | Required | Nationality of the client - use two-letter code, e.g., "IN" for India. |
| country_code | String | Required | Country code - use two-letter code, e.g., "EU" for European Union. |
| cutoff_time | Integer | Required | Cutoff time for receiving a response in milliseconds, e.g., 30000. |
| currency | String | Required | Currency in the three-letter ISO currency code, e.g., "INR" for Indian Rupee. |
Explanation:
- The attribute table outlines each field from the JSON, specifying its type, whether it is required, and providing a brief description of its purpose and example values.