diff --git a/src/openapi/customers/customers-trips.yaml b/src/openapi/customers/customers-trips.yaml index 221015d..55514ee 100644 --- a/src/openapi/customers/customers-trips.yaml +++ b/src/openapi/customers/customers-trips.yaml @@ -186,7 +186,7 @@ paths: loyaltyOrDiscount: false _links: tripDetails: - href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66538 + href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66538?ovPayTokenId=42 method: GET templated: false - tripId: 66539 @@ -214,7 +214,7 @@ paths: loyaltyOrDiscount: true _links: tripDetails: - href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66539 + href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66539?ovPayTokenId=42 method: GET templated: false getStopsForCorrection: @@ -487,7 +487,7 @@ paths: loyaltyOrDiscount: false _links: tripDetails: - href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66538 + href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66538?xbot=36637b86-7a31-4b77-99dd-2d39b9c1a9b6 method: GET templated: false - tripId: 66539 @@ -515,7 +515,7 @@ paths: loyaltyOrDiscount: true _links: tripDetails: - href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66539 + href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/trips/66539?xbot=36637b86-7a31-4b77-99dd-2d39b9c1a9b6 method: GET templated: false getStopsForCorrection: @@ -562,9 +562,8 @@ paths: - Trips summary: Get trips details for a trip and token description: >- - Get the trip details for a given trip and token ID, as long as the trip - belongs to the token and this token is bound to the profile (as derived - from sub in given JWT) + Get the trip details for a given trip and token ID (for tokens that are bound to a customer account), + or xbot (for anonymous tokens), as long as the trip belongs to the token. parameters: - name: X-HTM-JWT-AUTH-HEADER in: header @@ -587,6 +586,13 @@ paths: explode: false schema: type: integer + - name: xbot + in: query + required: false + style: form + explode: false + schema: + type: string responses: '200': description: ok