bristol-eurostar/scraper/sample_responses/gwr_fares_BRI.json
Edward Betts 2440fb3f02 Add GWR fare API sample responses for BRI, CDF, OXF, PLY
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>
2026-04-07 14:28:11 +01:00

169 lines
No EOL
5.4 KiB
JSON

{
"_note": "GWR API sample for BRI 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": "BRI",
"query_date": "2026-04-10",
"query_time": "12:00",
"fares": [
{
"fareGroupId": "GWR-SDS-00000-STD-1",
"fare": 13870,
"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": "Bristol Temple Meads (BRI)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_0"
],
"discountedFare": 13870,
"discountPercentage": 0
},
{
"fareGroupId": "GWR-SSS-00000-STD-1",
"fare": 4500,
"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": "Bristol Temple Meads (BRI)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_2"
],
"discountedFare": 4500,
"discountPercentage": 0
},
{
"fareGroupId": "GWR-SVS-00000-STD-1",
"fare": 6360,
"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": "Bristol Temple Meads (BRI)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_3"
],
"discountedFare": 6360,
"discountPercentage": 0
},
{
"fareGroupId": "GWA-W2P-00411-STD-1",
"fare": 4150,
"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": "Bristol Temple Meads (BRI)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_34"
],
"discountedFare": 4150,
"discountPercentage": 0
}
]
}