From adcbc4e61c8185483911fa0c2db46034c12b53c2 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 14 Aug 2025 11:41:25 +0200 Subject: [PATCH 1/4] OVPAY-2032 - Added profile instances to the get token call. --- src/openapi/customers/SE-customers.yaml | 48 +++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/src/openapi/customers/SE-customers.yaml b/src/openapi/customers/SE-customers.yaml index 1050f1a..c8047e6 100644 --- a/src/openapi/customers/SE-customers.yaml +++ b/src/openapi/customers/SE-customers.yaml @@ -310,6 +310,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], "_links": { "self": @@ -391,6 +392,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], "_links": { "self": @@ -506,6 +508,18 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, + "profileInstances": + [ + { + "profileType": "199900100", + "validPeriod": + { + "fromInclusive": "2021-09-18T13:11:11+02:00", + "untilInclusive": "2026-01-01T01:00:00+01:00", + }, + "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b", + }, + ], "_links": { "self": @@ -596,6 +610,18 @@ paths: }, "photo": null, }, + "profileInstances": + [ + { + "profileType": "199900100", + "validPeriod": + { + "fromInclusive": "2021-09-18T13:11:11+02:00", + "untilInclusive": "2026-01-01T01:00:00+01:00", + }, + "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b", + }, + ], "_links": { "self": @@ -704,6 +730,18 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, + "profileInstances": + [ + { + "profileType": "199900100", + "validPeriod": + { + "fromInclusive": "2021-09-18T13:11:11+02:00", + "untilInclusive": "2026-01-01T01:00:00+01:00", + }, + "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b", + }, + ], "_links": { "self": @@ -753,8 +791,8 @@ paths: }, }, } - ? Token list with every status for tokenTypeId = 2, role = KlantenService - : summary: Token list with every status for tokenTypeId = 2, role = KlantenService + Token list with every status for tokenTypeId = 2, role = KlantenService: + summary: Token list with every status for tokenTypeId = 2, role = KlantenService description: Token list with every status for tokenTypeId = 2, role = KlantenService value: { @@ -799,6 +837,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], }, { "customerProfileId": 18, @@ -819,6 +858,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], }, { "customerProfileId": 132, @@ -839,6 +879,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], }, { "customerProfileId": 166, @@ -862,6 +903,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], }, { "customerProfileId": 166, @@ -882,6 +924,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], }, { "customerProfileId": 1, @@ -902,6 +945,7 @@ paths: "birthdate": null, "photo": null, }, + "profileInstances": [], }, ], _links: -- 2.45.2 From 57607d8ad7d9053db54669a9c9b1189b8de6c1be Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 14 Aug 2025 11:53:19 +0200 Subject: [PATCH 2/4] OVPAY-2032 - Added profile instances to the compare call. --- src/openapi/customers/SE-customers.yaml | 46 +++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/src/openapi/customers/SE-customers.yaml b/src/openapi/customers/SE-customers.yaml index c8047e6..6c7900a 100644 --- a/src/openapi/customers/SE-customers.yaml +++ b/src/openapi/customers/SE-customers.yaml @@ -2179,6 +2179,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [] }, "newOvPayToken": { @@ -2194,6 +2195,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [], }, "isTransferable": true, "transferableObjects": @@ -2206,6 +2208,7 @@ paths: "ePurse": true, "personalAccountData": { "name": true, "birthdate": true, "photo": true }, + "profileInstances": true, }, "_links": { @@ -2234,6 +2237,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [], }, "newOvPayToken": { @@ -2249,6 +2253,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [], }, "isTransferable": false, "transferableObjects": @@ -2261,6 +2266,7 @@ paths: "ePurse": true, "personalAccountData": { "name": true, "birthdate": true, "photo": true }, + "profileInstances": true, }, "_links": {}, } @@ -2283,6 +2289,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [], }, "newOvPayToken": { @@ -2298,6 +2305,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [], }, "isTransferable": false, "transferableObjects": @@ -2310,6 +2318,7 @@ paths: "ePurse": true, "personalAccountData": { "name": true, "birthdate": true, "photo": true }, + "profileInstances": true, }, "_links": {}, } @@ -2362,6 +2371,16 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, + "profileInstances": [ + { + "profileType": "199900100", + "validPeriod": { + "fromInclusive": "2021-09-18T13:11:11+02:00", + "untilInclusive": "2026-01-01T01:00:00+01:00" + }, + "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b" + } + ] }, "newOvPayToken": { @@ -2377,6 +2396,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "profileInstances": [], }, "isTransferable": false, "transferableObjects": @@ -2393,6 +2413,7 @@ paths: "birthdate": false, "photo": false, }, + "profileInstances": true, }, "_links": {}, } @@ -2427,6 +2448,16 @@ paths: }, "photo": null, }, + "profileInstances": [ + { + "profileType": "199900100", + "validPeriod": { + "fromInclusive": "2021-09-18T13:11:11+02:00", + "untilInclusive": "2026-01-01T01:00:00+01:00" + }, + "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b" + } + ] }, "newOvPayToken": { @@ -2455,6 +2486,16 @@ paths: }, "photo": null, }, + "profileInstances": [ + { + "profileType": "133700100", + "validPeriod": { + "fromInclusive": "2021-09-18T13:11:11+02:00", + "untilInclusive": "2026-01-01T01:00:00+01:00" + }, + "xprofit": "4a2d2c9c-1e5d-4d8a-9c0a-6c0a6c0a6c0a" + } + ] }, "isTransferable": false, "transferableObjects": @@ -2467,6 +2508,7 @@ paths: "ePurse": false, "personalAccountData": { "name": true, "birthdate": false, "photo": true }, + "profileInstances": false, }, "_links": {}, } @@ -2626,8 +2668,8 @@ paths: "alias": "My new token", }, } - ? Transfer from a token with PAD to a new token without existing PAD - : summary: Transfer from a token with PAD to a new token without existing PAD + Transfer from a token with PAD to a new token without existing PAD: + summary: Transfer from a token with PAD to a new token without existing PAD description: | Transfer of a token with PAD to a new token by xTAT without existing PAD. Note how this request is different, since it has an e-mail address on which the new PAD should be created. This request may -- 2.45.2 From d8a6a59c7de8891d2f6dedc1dfe58f46fe894f05 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 14 Aug 2025 11:59:13 +0200 Subject: [PATCH 3/4] OVPAY-2032 - Added product instances to the compare call. --- src/openapi/customers/SE-customers.yaml | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/openapi/customers/SE-customers.yaml b/src/openapi/customers/SE-customers.yaml index 6c7900a..ab9ecbc 100644 --- a/src/openapi/customers/SE-customers.yaml +++ b/src/openapi/customers/SE-customers.yaml @@ -2174,6 +2174,7 @@ paths: "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2190,6 +2191,7 @@ paths: "alias": null, "tokenStatus": null, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2232,6 +2234,37 @@ paths: "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, "expirationDate": "2028-02-01", + "productInstances": [ + { + "productId": 1, + "name": "HTM 90% Korting", + "status": "Active", + "isRenewable": true, + "productCategory": { + "productCategoryId": 1, + "name": "Kortingsabonnement" + }, + "fromInclusive": "2024-11-25T13:25:00+01:00", + "untilInclusive": "2024-12-25T03:59:59+01:00", + "orderId": "501B17EF-36C4-4039-B92C-6517969B464E", + "orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E", + "contractId": "56B17EF-C436-9043-B76C-481797WEB464F", + "_links": { + "self": { + "href": "https://api.integratielaag.nl/abt/touchpoint/1.0/customers/tokens/1/productinstances/1", + "method": "GET" + }, + "get_order": { + "href": "https://api.integratielaag.nl/abt/touchpoint/1.0/orders/501B17EF-36C4-4039-B92C-6517969B464E", + "method": "GET" + }, + "get_contract": { + "href": "https://api.integratielaag.nl/abt/touchpoint/1.0/customers/contracts/56B17EF-C436-9043-B76C-481797WEB464F", + "method": "GET" + } + } + } + ], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2248,6 +2281,7 @@ paths: "alias": null, "tokenStatus": null, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2284,6 +2318,7 @@ paths: "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2300,6 +2335,7 @@ paths: "alias": null, "tokenStatus": null, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2335,6 +2371,7 @@ paths: "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": 2, "autoReloadRegistration": null, "ePurse": null, @@ -2391,6 +2428,7 @@ paths: "alias": null, "tokenStatus": null, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, @@ -2430,6 +2468,7 @@ paths: "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": 2, "autoReloadRegistration": null, "ePurse": null, @@ -2468,6 +2507,7 @@ paths: "alias": null, "tokenStatus": null, "expirationDate": "2028-02-01", + "productInstances": [], "replacedByTokenId": null, "autoReloadRegistration": null, "ePurse": null, -- 2.45.2 From 4d9e6a831f02dc4a7a19e9bd3d331cdc10d32bd4 Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 25 Aug 2025 15:32:14 +0200 Subject: [PATCH 4/4] Review comments verwerkt --- src/openapi/customers/SE-customers.yaml | 167 ++++++++++++------------ 1 file changed, 80 insertions(+), 87 deletions(-) diff --git a/src/openapi/customers/SE-customers.yaml b/src/openapi/customers/SE-customers.yaml index ab9ecbc..561c330 100644 --- a/src/openapi/customers/SE-customers.yaml +++ b/src/openapi/customers/SE-customers.yaml @@ -310,7 +310,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null, "_links": { "self": @@ -391,8 +391,8 @@ paths: "name": null, "birthdate": null, "photo": null, - }, - "profileInstances": [], + }, + "gboAgeProfile": null, "_links": { "self": @@ -508,18 +508,13 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, - "profileInstances": - [ - { - "profileType": "199900100", - "validPeriod": - { - "fromInclusive": "2021-09-18T13:11:11+02:00", - "untilInclusive": "2026-01-01T01:00:00+01:00", - }, - "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b", - }, - ], + "gboAgeProfile": + { + "gboAgeProfileId": 1, + "name": "Kind (4 t/m 11 jaar)", + "ageFromInclusive": 4, + "ageToInclusive": 11 + }, "_links": { "self": @@ -610,18 +605,13 @@ paths: }, "photo": null, }, - "profileInstances": - [ - { - "profileType": "199900100", - "validPeriod": - { - "fromInclusive": "2021-09-18T13:11:11+02:00", - "untilInclusive": "2026-01-01T01:00:00+01:00", - }, - "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b", - }, - ], + "gboAgeProfile": + { + "gboAgeProfileId": 1, + "name": "Kind (4 t/m 11 jaar)", + "ageFromInclusive": 4, + "ageToInclusive": 11 + }, "_links": { "self": @@ -730,18 +720,13 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, - "profileInstances": - [ - { - "profileType": "199900100", - "validPeriod": - { - "fromInclusive": "2021-09-18T13:11:11+02:00", - "untilInclusive": "2026-01-01T01:00:00+01:00", - }, - "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b", - }, - ], + "gboAgeProfile": + { + "gboAgeProfileId": 1, + "name": "Kind (4 t/m 11 jaar)", + "ageFromInclusive": 4, + "ageToInclusive": 11 + }, "_links": { "self": @@ -837,7 +822,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null, }, { "customerProfileId": 18, @@ -858,7 +843,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null }, { "customerProfileId": 132, @@ -879,7 +864,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null }, { "customerProfileId": 166, @@ -903,7 +888,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null }, { "customerProfileId": 166, @@ -924,7 +909,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null }, { "customerProfileId": 1, @@ -945,7 +930,7 @@ paths: "birthdate": null, "photo": null, }, - "profileInstances": [], + "gboAgeProfile": null }, ], _links: @@ -1045,6 +1030,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1122,6 +1108,7 @@ paths: }, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1272,6 +1259,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1341,6 +1329,7 @@ paths: }, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1410,6 +1399,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1596,6 +1586,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1658,6 +1649,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1819,6 +1811,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1888,6 +1881,7 @@ paths: }, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -1957,6 +1951,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, + "gboAgeProfile": null, "_links": { "self": @@ -2180,7 +2175,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [] + "gboAgeProfile": null }, "newOvPayToken": { @@ -2197,7 +2192,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [], + "gboAgeProfile": null }, "isTransferable": true, "transferableObjects": @@ -2210,7 +2205,7 @@ paths: "ePurse": true, "personalAccountData": { "name": true, "birthdate": true, "photo": true }, - "profileInstances": true, + "gboAgeProfile": true }, "_links": { @@ -2237,15 +2232,15 @@ paths: "productInstances": [ { "productId": 1, - "name": "HTM 90% Korting", + "name": "HTM 90% Korting EMV", "status": "Active", "isRenewable": true, "productCategory": { "productCategoryId": 1, "name": "Kortingsabonnement" }, - "fromInclusive": "2024-11-25T13:25:00+01:00", - "untilInclusive": "2024-12-25T03:59:59+01:00", + "fromInclusive": "2025-11-25T13:25:00+01:00", + "untilInclusive": "2025-12-25T03:59:59+01:00", "orderId": "501B17EF-36C4-4039-B92C-6517969B464E", "orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E", "contractId": "56B17EF-C436-9043-B76C-481797WEB464F", @@ -2270,14 +2265,14 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [], + "gboAgeProfile": null }, "newOvPayToken": { "customerProfileId": null, "ovPayTokenId": null, "xTat": "32089cc8-d187-47ff-a3a9-5c2558def811", - "tokenType": { "tokenTypeId": 1, "name": "EMV" }, + "tokenType": { "tokenTypeId": 2, "name": "OV-pas physical" }, "alias": null, "tokenStatus": null, "expirationDate": "2028-02-01", @@ -2287,7 +2282,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [], + "gboAgeProfile": null }, "isTransferable": false, "transferableObjects": @@ -2300,7 +2295,7 @@ paths: "ePurse": true, "personalAccountData": { "name": true, "birthdate": true, "photo": true }, - "profileInstances": true, + "gboAgeProfile": true, }, "_links": {}, } @@ -2324,7 +2319,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [], + "gboAgeProfile": null }, "newOvPayToken": { @@ -2341,7 +2336,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [], + "gboAgeProfile": null }, "isTransferable": false, "transferableObjects": @@ -2354,7 +2349,7 @@ paths: "ePurse": true, "personalAccountData": { "name": true, "birthdate": true, "photo": true }, - "profileInstances": true, + "gboAgeProfile": true, }, "_links": {}, } @@ -2408,16 +2403,13 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, - "profileInstances": [ - { - "profileType": "199900100", - "validPeriod": { - "fromInclusive": "2021-09-18T13:11:11+02:00", - "untilInclusive": "2026-01-01T01:00:00+01:00" - }, - "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b" - } - ] + "gboAgeProfile": + { + "gboAgeProfileId": 1, + "name": "Kind (4 t/m 11 jaar)", + "ageFromInclusive": 4, + "ageToInclusive": 11 + } }, "newOvPayToken": { @@ -2434,7 +2426,7 @@ paths: "ePurse": null, "personalAccountData": { "name": null, "birthdate": null, "photo": null }, - "profileInstances": [], + "gboAgeProfile": null }, "isTransferable": false, "transferableObjects": @@ -2451,7 +2443,7 @@ paths: "birthdate": false, "photo": false, }, - "profileInstances": true, + "gboAgeProfile": true, }, "_links": {}, } @@ -2487,16 +2479,13 @@ paths: }, "photo": null, }, - "profileInstances": [ + "gboAgeProfile": { - "profileType": "199900100", - "validPeriod": { - "fromInclusive": "2021-09-18T13:11:11+02:00", - "untilInclusive": "2026-01-01T01:00:00+01:00" - }, - "xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b" + "gboAgeProfileId": 1, + "name": "Kind (4 t/m 11 jaar)", + "ageFromInclusive": 4, + "ageToInclusive": 11 } - ] }, "newOvPayToken": { @@ -2526,16 +2515,13 @@ paths: }, "photo": null, }, - "profileInstances": [ + "gboAgeProfile": { - "profileType": "133700100", - "validPeriod": { - "fromInclusive": "2021-09-18T13:11:11+02:00", - "untilInclusive": "2026-01-01T01:00:00+01:00" - }, - "xprofit": "4a2d2c9c-1e5d-4d8a-9c0a-6c0a6c0a6c0a" + "gboAgeProfileId": 4, + "name": "Kind (19 t/m 65 jaar)", + "ageFromInclusive": 19, + "ageToInclusive": 65 } - ] }, "isTransferable": false, "transferableObjects": @@ -2548,7 +2534,7 @@ paths: "ePurse": false, "personalAccountData": { "name": true, "birthdate": false, "photo": true }, - "profileInstances": false, + "gboAgeProfile": false, }, "_links": {}, } @@ -2893,6 +2879,13 @@ paths: "lastChangeDate": "2024-08-24T14:15:22Z", }, }, + "gboAgeProfile": + { + "gboAgeProfileId": 1, + "name": "Kind (4 t/m 11 jaar)", + "ageFromInclusive": 4, + "ageToInclusive": 11 + }, "_links": { "self": -- 2.45.2