Reference JSON showing ticket types returned by the GWR journey search API for four representative stations: Bristol Temple Meads (SSS/SVS/SDS), Cardiff Central (SVS/SDS), Oxford (CDS/SDS), and Plymouth (SVS/SDS). Documents that no restriction codes are exposed in the API response. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
249 lines
No EOL
8 KiB
JSON
249 lines
No EOL
8 KiB
JSON
{
|
|
"_note": "GWR API sample for CDF to PAD queried at 12:00 on 2026-04-10. Full fare objects, one per ticket type.",
|
|
"_api": "POST https://api.gwr.com/api/shopping/journeysearch",
|
|
"station_crs": "CDF",
|
|
"query_date": "2026-04-10",
|
|
"query_time": "12:00",
|
|
"fares": [
|
|
{
|
|
"fareGroupId": "GWR-SDS-00000-STD-1",
|
|
"fare": 14950,
|
|
"ticketType": "Anytime Day Single",
|
|
"ticketDetails": [
|
|
"Break of journey: Outward: Break of journey is allowed.",
|
|
"Travel is allowed via any permitted route."
|
|
],
|
|
"nectarPoint": 0,
|
|
"isUpgradeToFirstClass": false,
|
|
"upgradeToFirstClassAmount": null,
|
|
"nectarPointsToUpgradeFirstClass": "",
|
|
"isDiscountedFare": false,
|
|
"fareBreakupId": [
|
|
"GWR-SDS-00000-STD-1/PRICE_P_1_0"
|
|
],
|
|
"isStandardClass": true,
|
|
"isFirstClass": false,
|
|
"isITSOSmartCard": true,
|
|
"isNoChanges": false,
|
|
"ticketTypeCode": "SDS",
|
|
"upgradeFareGroupId": null,
|
|
"advanceTicketAvailableCount": 0,
|
|
"isGroupDiscountApplied": false,
|
|
"isRailcardApplied": false,
|
|
"isPromotionApplied": false,
|
|
"isSleeperFare": false,
|
|
"isDiningAvailable": false,
|
|
"isSelected": false,
|
|
"journeyFareType": "singleOutward",
|
|
"routeName": "00000",
|
|
"routeDescription": "Travel is allowed via any permitted route.",
|
|
"fareOrigin": "Cardiff Central (CDF)",
|
|
"fareDestination": "London Paddington (PAD)",
|
|
"priceId": [
|
|
"PRICE_P_1_0"
|
|
],
|
|
"discountedFare": 14950,
|
|
"discountPercentage": 0
|
|
},
|
|
{
|
|
"fareGroupId": "GWR-SSS-00000-STD-1",
|
|
"fare": 6020,
|
|
"ticketType": "Super Off-Peak Single",
|
|
"ticketDetails": [
|
|
"Break of journey: Outward: Break of journey is allowed.",
|
|
"Travel is allowed via any permitted route."
|
|
],
|
|
"nectarPoint": 0,
|
|
"isUpgradeToFirstClass": false,
|
|
"upgradeToFirstClassAmount": null,
|
|
"nectarPointsToUpgradeFirstClass": "",
|
|
"isDiscountedFare": false,
|
|
"fareBreakupId": [
|
|
"GWR-SSS-00000-STD-1/PRICE_P_1_2"
|
|
],
|
|
"isStandardClass": true,
|
|
"isFirstClass": false,
|
|
"isITSOSmartCard": false,
|
|
"isNoChanges": false,
|
|
"ticketTypeCode": "SSS",
|
|
"upgradeFareGroupId": null,
|
|
"advanceTicketAvailableCount": 0,
|
|
"isGroupDiscountApplied": false,
|
|
"isRailcardApplied": false,
|
|
"isPromotionApplied": false,
|
|
"isSleeperFare": false,
|
|
"isDiningAvailable": false,
|
|
"isSelected": false,
|
|
"journeyFareType": "singleOutward",
|
|
"routeName": "00000",
|
|
"routeDescription": "Travel is allowed via any permitted route.",
|
|
"fareOrigin": "Cardiff Central (CDF)",
|
|
"fareDestination": "London Paddington (PAD)",
|
|
"priceId": [
|
|
"PRICE_P_1_2"
|
|
],
|
|
"discountedFare": 6020,
|
|
"discountPercentage": 0
|
|
},
|
|
{
|
|
"fareGroupId": "GWR-SVS-00000-STD-1",
|
|
"fare": 8150,
|
|
"ticketType": "Off-Peak Single",
|
|
"ticketDetails": [
|
|
"Break of journey: Outward: Break of journey is allowed.",
|
|
"Travel is allowed via any permitted route."
|
|
],
|
|
"nectarPoint": 0,
|
|
"isUpgradeToFirstClass": false,
|
|
"upgradeToFirstClassAmount": null,
|
|
"nectarPointsToUpgradeFirstClass": "",
|
|
"isDiscountedFare": false,
|
|
"fareBreakupId": [
|
|
"GWR-SVS-00000-STD-1/PRICE_P_1_3"
|
|
],
|
|
"isStandardClass": true,
|
|
"isFirstClass": false,
|
|
"isITSOSmartCard": true,
|
|
"isNoChanges": false,
|
|
"ticketTypeCode": "SVS",
|
|
"upgradeFareGroupId": null,
|
|
"advanceTicketAvailableCount": 0,
|
|
"isGroupDiscountApplied": false,
|
|
"isRailcardApplied": false,
|
|
"isPromotionApplied": false,
|
|
"isSleeperFare": false,
|
|
"isDiningAvailable": false,
|
|
"isSelected": false,
|
|
"journeyFareType": "singleOutward",
|
|
"routeName": "00000",
|
|
"routeDescription": "Travel is allowed via any permitted route.",
|
|
"fareOrigin": "Cardiff Central (CDF)",
|
|
"fareDestination": "London Paddington (PAD)",
|
|
"priceId": [
|
|
"PRICE_P_1_3"
|
|
],
|
|
"discountedFare": 8150,
|
|
"discountPercentage": 0
|
|
},
|
|
{
|
|
"fareGroupId": "GWA-W2P-00411-STD-1",
|
|
"fare": 5550,
|
|
"ticketType": "Advance Single",
|
|
"ticketDetails": [
|
|
"Break of journey: Outward: A break of journey is not allowed.",
|
|
"Only valid on booked trains and required connecting services."
|
|
],
|
|
"nectarPoint": 0,
|
|
"isUpgradeToFirstClass": false,
|
|
"upgradeToFirstClassAmount": null,
|
|
"nectarPointsToUpgradeFirstClass": "",
|
|
"isDiscountedFare": false,
|
|
"fareBreakupId": [
|
|
"GWA-W2P-00411-STD-1/PRICE_P_1_34"
|
|
],
|
|
"isStandardClass": true,
|
|
"isFirstClass": false,
|
|
"isITSOSmartCard": false,
|
|
"isNoChanges": false,
|
|
"ticketTypeCode": "W2P",
|
|
"upgradeFareGroupId": null,
|
|
"advanceTicketAvailableCount": 0,
|
|
"isGroupDiscountApplied": false,
|
|
"isRailcardApplied": false,
|
|
"isPromotionApplied": false,
|
|
"isSleeperFare": false,
|
|
"isDiningAvailable": false,
|
|
"isSelected": false,
|
|
"journeyFareType": "singleOutward",
|
|
"routeName": "00411",
|
|
"routeDescription": "Only valid on booked trains and required connecting services.",
|
|
"fareOrigin": "Cardiff Central (CDF)",
|
|
"fareDestination": "London Paddington (PAD)",
|
|
"priceId": [
|
|
"PRICE_P_1_34"
|
|
],
|
|
"discountedFare": 5550,
|
|
"discountPercentage": 0
|
|
},
|
|
{
|
|
"fareGroupId": "GWA-W2Q-00411-STD-1",
|
|
"fare": 5150,
|
|
"ticketType": "Advance Single",
|
|
"ticketDetails": [
|
|
"Break of journey: Outward: A break of journey is not allowed.",
|
|
"Only valid on booked trains and required connecting services."
|
|
],
|
|
"nectarPoint": 0,
|
|
"isUpgradeToFirstClass": false,
|
|
"upgradeToFirstClassAmount": null,
|
|
"nectarPointsToUpgradeFirstClass": "",
|
|
"isDiscountedFare": false,
|
|
"fareBreakupId": [
|
|
"GWA-W2Q-00411-STD-1/PRICE_P_1_240"
|
|
],
|
|
"isStandardClass": true,
|
|
"isFirstClass": false,
|
|
"isITSOSmartCard": false,
|
|
"isNoChanges": false,
|
|
"ticketTypeCode": "W2Q",
|
|
"upgradeFareGroupId": null,
|
|
"advanceTicketAvailableCount": 0,
|
|
"isGroupDiscountApplied": false,
|
|
"isRailcardApplied": false,
|
|
"isPromotionApplied": false,
|
|
"isSleeperFare": false,
|
|
"isDiningAvailable": false,
|
|
"isSelected": false,
|
|
"journeyFareType": "singleOutward",
|
|
"routeName": "00411",
|
|
"routeDescription": "Only valid on booked trains and required connecting services.",
|
|
"fareOrigin": "Cardiff Central (CDF)",
|
|
"fareDestination": "London Paddington (PAD)",
|
|
"priceId": [
|
|
"PRICE_P_1_240"
|
|
],
|
|
"discountedFare": 5150,
|
|
"discountPercentage": 0
|
|
},
|
|
{
|
|
"fareGroupId": "GWA-W2O-00411-STD-1",
|
|
"fare": 5950,
|
|
"ticketType": "Advance Single",
|
|
"ticketDetails": [
|
|
"Break of journey: Outward: A break of journey is not allowed.",
|
|
"Only valid on booked trains and required connecting services."
|
|
],
|
|
"nectarPoint": 0,
|
|
"isUpgradeToFirstClass": false,
|
|
"upgradeToFirstClassAmount": null,
|
|
"nectarPointsToUpgradeFirstClass": "",
|
|
"isDiscountedFare": false,
|
|
"fareBreakupId": [
|
|
"GWA-W2O-00411-STD-1/PRICE_P_1_310"
|
|
],
|
|
"isStandardClass": true,
|
|
"isFirstClass": false,
|
|
"isITSOSmartCard": false,
|
|
"isNoChanges": false,
|
|
"ticketTypeCode": "W2O",
|
|
"upgradeFareGroupId": null,
|
|
"advanceTicketAvailableCount": 0,
|
|
"isGroupDiscountApplied": false,
|
|
"isRailcardApplied": false,
|
|
"isPromotionApplied": false,
|
|
"isSleeperFare": false,
|
|
"isDiningAvailable": false,
|
|
"isSelected": false,
|
|
"journeyFareType": "singleOutward",
|
|
"routeName": "00411",
|
|
"routeDescription": "Only valid on booked trains and required connecting services.",
|
|
"fareOrigin": "Cardiff Central (CDF)",
|
|
"fareDestination": "London Paddington (PAD)",
|
|
"priceId": [
|
|
"PRICE_P_1_310"
|
|
],
|
|
"discountedFare": 5950,
|
|
"discountPercentage": 0
|
|
}
|
|
]
|
|
} |