OVPAY-2032 - Added profile instances to the get token call. #23

Merged
MirjamHTM merged 4 commits from feature/OVPAY-2032 into develop 2025-08-25 13:33:56 +00:00
Showing only changes of commit adcbc4e61c - Show all commits

View File

@ -310,6 +310,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
"_links": "_links":
{ {
"self": "self":
@ -391,6 +392,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
"_links": "_links":
{ {
"self": "self":
@ -506,6 +508,18 @@ paths:
"lastChangeDate": "2024-08-24T14:15:22Z", "lastChangeDate": "2024-08-24T14:15:22Z",
}, },
}, },
"profileInstances":
MirjamHTM marked this conversation as resolved Outdated

Willen we hier de hele array teruggeven, of alleen de nu actieve (of lege array als er geen enkel actief profiel is)? Anders moet touchpoint die deductie helemaal gaan doen, terwijl SE die ook al heeft gedaan. Kun je net zo goed alleen die teruggeven.

Of nog mooier: geef direct de gboAgeProfile terug zoals we hem in HTM kernregistratie hebben staan (zie mn andere comment)

Willen we hier de hele array teruggeven, of alleen de nu actieve (of lege array als er geen enkel actief profiel is)? Anders moet touchpoint die deductie helemaal gaan doen, terwijl SE die ook al heeft gedaan. Kun je net zo goed alleen die teruggeven. Of nog mooier: geef direct de gboAgeProfile terug zoals we hem in HTM kernregistratie hebben staan (zie mn andere comment)

Goed punt scheelt touchpoint natuurlijk heel veel werk. Kun jij deze voor mij speccen?

Goed punt scheelt touchpoint natuurlijk heel veel werk. Kun jij deze voor mij speccen?

Heb overal profileInstances in de token Details vervangen door gboAgeProfile object, deze is null als het object niet bestaat, en anders gevuld met het geldige profiel op het token. Gelijk met de specs op de validatie van het gboAgeProfile

Heb overal profileInstances in de token Details vervangen door gboAgeProfile object, deze is null als het object niet bestaat, en anders gevuld met het geldige profiel op het token. Gelijk met de specs op de validatie van het gboAgeProfile
[
{
"profileType": "199900100",
MirjamHTM marked this conversation as resolved Outdated

De profileType zal in de praktijk altijd in de range 1-5 liggen en overeen komen met onze gboAgeProfile tabel in ABTProductReference

De profileType zal in de praktijk altijd in de range 1-5 liggen en overeen komen met onze gboAgeProfile tabel in ABTProductReference
"validPeriod":
{
"fromInclusive": "2021-09-18T13:11:11+02:00",
"untilInclusive": "2026-01-01T01:00:00+01:00",
},
"xprofit": "ad7c62d0-2fc0-47d4-9307-cf03bf53ef4b",
},
],
"_links": "_links":
{ {
"self": "self":
@ -596,6 +610,18 @@ paths:
}, },
"photo": null, "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": "_links":
{ {
"self": "self":
@ -704,6 +730,18 @@ paths:
"lastChangeDate": "2024-08-24T14:15:22Z", "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": "_links":
{ {
"self": "self":
@ -753,8 +791,8 @@ paths:
}, },
}, },
} }
? 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 summary: Token list with every status for tokenTypeId = 2, role = KlantenService
description: Token list with every status for tokenTypeId = 2, role = KlantenService description: Token list with every status for tokenTypeId = 2, role = KlantenService
value: value:
{ {
@ -799,6 +837,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
}, },
{ {
"customerProfileId": 18, "customerProfileId": 18,
@ -819,6 +858,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
}, },
{ {
"customerProfileId": 132, "customerProfileId": 132,
@ -839,6 +879,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
}, },
{ {
"customerProfileId": 166, "customerProfileId": 166,
@ -862,6 +903,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
}, },
{ {
"customerProfileId": 166, "customerProfileId": 166,
@ -882,6 +924,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
}, },
{ {
"customerProfileId": 1, "customerProfileId": 1,
@ -902,6 +945,7 @@ paths:
"birthdate": null, "birthdate": null,
"photo": null, "photo": null,
}, },
"profileInstances": [],
}, },
], ],
_links: _links: