OVPAY-2473 - Added xbot as query param for get trip details.
This commit is contained in:
parent
7d84691c4b
commit
7954e8012d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user