cleaned op hateoas linksv
This commit is contained in:
parent
f6766f9225
commit
976e24775e
@ -272,6 +272,20 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
Empty token list:
|
||||
summary: Empty token list
|
||||
description: Empty token list
|
||||
value:
|
||||
{
|
||||
"ovPayTokens": [
|
||||
],
|
||||
_links: {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
EMV without PAD:
|
||||
summary: EMV without PAD
|
||||
description: EMV without PAD
|
||||
@ -338,7 +352,13 @@ paths:
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
_links: {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
OV pas without PAD:
|
||||
summary: OV pas without PAD
|
||||
@ -404,7 +424,13 @@ paths:
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
_links: {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
OV pas with PAD and autoReload:
|
||||
summary: OV pas with PAD and autoReload
|
||||
@ -500,7 +526,13 @@ paths:
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
_links: {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
OV pas with partial PAD:
|
||||
summary: OV pas with partial PAD
|
||||
@ -590,7 +622,13 @@ paths:
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
_links: {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
OV pas with invalid PAD:
|
||||
summary: OV pas with invalid PAD
|
||||
@ -680,7 +718,13 @@ paths:
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
_links: {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
post:
|
||||
tags:
|
||||
@ -1006,12 +1050,6 @@ paths:
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
Replace with new OV pas token:
|
||||
@ -1038,7 +1076,6 @@ paths:
|
||||
"status": "ACTIVE",
|
||||
"originDate": "2024-07-16T11:00:00+02:00"
|
||||
},
|
||||
|
||||
"personalAccountData":{
|
||||
"name": null,
|
||||
"birthDate": null,
|
||||
@ -1074,12 +1111,6 @@ paths:
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
"200":
|
||||
@ -1113,40 +1144,34 @@ paths:
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens?ovpaytokenId=5",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens?ovpaytokenId=10",
|
||||
"method": "GET"
|
||||
},
|
||||
"partial_edit": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/5",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/10",
|
||||
"method": "PATCH"
|
||||
},
|
||||
"replace_token": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/5",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/10",
|
||||
"method": "POST"
|
||||
},
|
||||
"delete_token": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/5",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/10",
|
||||
"method": "DELETE"
|
||||
},
|
||||
"get_productinstances": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/5/productinstances",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/10/productinstances",
|
||||
"method": "GET"
|
||||
},
|
||||
"get_trips": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/5/trips",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens/10/trips",
|
||||
"method": "GET"
|
||||
},
|
||||
"create_tokenPersonalization": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/pad?ovpaytokenId=5",
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/pad?ovpaytokenId=10",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
patch:
|
||||
@ -1275,12 +1300,6 @@ paths:
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
Update an OV pay token alias:
|
||||
@ -1335,12 +1354,6 @@ paths:
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
Update an OV pay token full:
|
||||
@ -1395,12 +1408,6 @@ paths:
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
delete:
|
||||
@ -1441,7 +1448,7 @@ paths:
|
||||
/customers/tokens/{ovPayTokenId}/productinstances:
|
||||
get:
|
||||
tags:
|
||||
- ServiceEngine Customers
|
||||
- Customers
|
||||
summary: Get a list of all HTM products instantiated on the given OvPayToken
|
||||
description: |-
|
||||
Get a list of all HTM products instantiated on the given OvPayToken.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user