OVPAY-2473 - Added xbot as query param for get trip details.

This commit is contained in:
Bas Boterman 2026-04-17 15:55:30 +02:00
parent 7d84691c4b
commit 7954e8012d

View File

@ -186,7 +186,7 @@ paths:
loyaltyOrDiscount: false loyaltyOrDiscount: false
_links: _links:
tripDetails: 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 method: GET
templated: false templated: false
- tripId: 66539 - tripId: 66539
@ -214,7 +214,7 @@ paths:
loyaltyOrDiscount: true loyaltyOrDiscount: true
_links: _links:
tripDetails: 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 method: GET
templated: false templated: false
getStopsForCorrection: getStopsForCorrection:
@ -487,7 +487,7 @@ paths:
loyaltyOrDiscount: false loyaltyOrDiscount: false
_links: _links:
tripDetails: 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 method: GET
templated: false templated: false
- tripId: 66539 - tripId: 66539
@ -515,7 +515,7 @@ paths:
loyaltyOrDiscount: true loyaltyOrDiscount: true
_links: _links:
tripDetails: 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 method: GET
templated: false templated: false
getStopsForCorrection: getStopsForCorrection:
@ -562,9 +562,8 @@ paths:
- Trips - Trips
summary: Get trips details for a trip and token summary: Get trips details for a trip and token
description: >- description: >-
Get the trip details for a given trip and token ID, as long as the trip Get the trip details for a given trip and token ID (for tokens that are bound to a customer account),
belongs to the token and this token is bound to the profile (as derived or xbot (for anonymous tokens), as long as the trip belongs to the token.
from sub in given JWT)
parameters: parameters:
- name: X-HTM-JWT-AUTH-HEADER - name: X-HTM-JWT-AUTH-HEADER
in: header in: header
@ -587,6 +586,13 @@ paths:
explode: false explode: false
schema: schema:
type: integer type: integer
- name: xbot
in: query
required: false
style: form
explode: false
schema:
type: string
responses: responses:
'200': '200':
description: ok description: ok