diff --git a/src/openapi/customers/SE-customers.yaml b/src/openapi/customers/SE-customers.yaml index 171c6f4..e3c8493 100644 --- a/src/openapi/customers/SE-customers.yaml +++ b/src/openapi/customers/SE-customers.yaml @@ -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,8 +718,14 @@ paths: } } } - ] - } + ], + _links: { + "self": { + "href": "https://api.integratielaag.nl/abt/1.0/touchpoint/customers/tokens", + "method": "GET" + } + } + } post: tags: - Customers @@ -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: @@ -1037,8 +1075,7 @@ 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.