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>
This commit is contained in:
Edward Betts 2026-04-07 14:28:11 +01:00
parent 3c787b33d3
commit 2440fb3f02
4 changed files with 796 additions and 0 deletions

View file

@ -0,0 +1,209 @@
{
"_note": "GWR API sample for PLY 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": "PLY",
"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": "Plymouth (PLY)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_0"
],
"discountedFare": 14950,
"discountPercentage": 0
},
{
"fareGroupId": "GWR-SSS-00000-STD-1",
"fare": 7490,
"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": "Plymouth (PLY)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_2"
],
"discountedFare": 7490,
"discountPercentage": 0
},
{
"fareGroupId": "GWR-SVS-00000-STD-1",
"fare": 10470,
"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": "Plymouth (PLY)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_3"
],
"discountedFare": 10470,
"discountPercentage": 0
},
{
"fareGroupId": "GWA-W2O-00411-STD-1",
"fare": 7450,
"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_30"
],
"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": "Plymouth (PLY)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_30"
],
"discountedFare": 7450,
"discountPercentage": 0
},
{
"fareGroupId": "GWA-W2P-00411-STD-1",
"fare": 7000,
"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_96"
],
"isStandardClass": true,
"isFirstClass": false,
"isITSOSmartCard": false,
"isNoChanges": false,
"ticketTypeCode": "W2P",
"upgradeFareGroupId": null,
"advanceTicketAvailableCount": 0,
"isGroupDiscountApplied": false,
"isRailcardApplied": false,
"isPromotionApplied": false,
"isSleeperFare": false,
"isDiningAvailable": true,
"isSelected": false,
"journeyFareType": "singleOutward",
"routeName": "00411",
"routeDescription": "Only valid on booked trains and required connecting services.",
"fareOrigin": "Plymouth (PLY)",
"fareDestination": "London Paddington (PAD)",
"priceId": [
"PRICE_P_1_96"
],
"discountedFare": 7000,
"discountPercentage": 0
}
]
}