Compare commits
No commits in common. "24c9c8ab6ef59d6a0ba3b8a3800d472d730e9cad" and "9fe5913be313e575030f0eec8b26559183cdb5a3" have entirely different histories.
24c9c8ab6e
...
9fe5913be3
@ -6,7 +6,7 @@ info:
|
|||||||
To be used by touchpoints to get information about HTM products they are allowed to see and/or sell.
|
To be used by touchpoints to get information about HTM products they are allowed to see and/or sell.
|
||||||
version: "1.0"
|
version: "1.0"
|
||||||
servers:
|
servers:
|
||||||
- url: https://services.acc.api.htm.nl/abt/abtserviceengine/1.0
|
- url: https://services.acc.api.htm.nl/abt/touchpoint/1.0
|
||||||
tags:
|
tags:
|
||||||
- name: ServiceEngine Products
|
- name: ServiceEngine Products
|
||||||
description: |-
|
description: |-
|
||||||
@ -90,7 +90,7 @@ paths:
|
|||||||
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 5,
|
"productCategoryId": 6,
|
||||||
"isTravelProduct": false,
|
"isTravelProduct": false,
|
||||||
"name": "Barcode",
|
"name": "Barcode",
|
||||||
},
|
},
|
||||||
@ -123,7 +123,7 @@ paths:
|
|||||||
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 5,
|
"productCategoryId": 6,
|
||||||
"isTravelProduct": false,
|
"isTravelProduct": false,
|
||||||
"name": "Barcode",
|
"name": "Barcode",
|
||||||
},
|
},
|
||||||
@ -156,7 +156,7 @@ paths:
|
|||||||
"productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in het gekozen gebied in de regio Rotterdam Den Haag.",
|
"productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in het gekozen gebied in de regio Rotterdam Den Haag.",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -222,7 +222,7 @@ paths:
|
|||||||
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 5,
|
"productCategoryId": 6,
|
||||||
"isTravelProduct": false,
|
"isTravelProduct": false,
|
||||||
"name": "Barcode",
|
"name": "Barcode",
|
||||||
},
|
},
|
||||||
@ -313,7 +313,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 24,
|
"productId": 24,
|
||||||
"parentProductId": null,
|
"parentProductId": null,
|
||||||
"layerInfo": null,
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30901",
|
"gboPackageTemplateId": "30901",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -426,7 +425,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 126,
|
"productId": 126,
|
||||||
"parentProductId": null,
|
"parentProductId": null,
|
||||||
"layerInfo": null,
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30001",
|
"gboPackageTemplateId": "30001",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -529,12 +527,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 119,
|
"productId": 119,
|
||||||
"parentProductId": 126,
|
"parentProductId": 126,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30001",
|
"gboPackageTemplateId": "30001",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -649,12 +641,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 120,
|
"productId": 120,
|
||||||
"parentProductId": 126,
|
"parentProductId": 126,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30001",
|
"gboPackageTemplateId": "30001",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -779,7 +765,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 49,
|
"productId": 49,
|
||||||
"parentProductId": null,
|
"parentProductId": null,
|
||||||
"layerInfo": null,
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": null,
|
"gboPackageTemplateId": null,
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -809,6 +794,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 2,
|
"gboAgeProfileId": 2,
|
||||||
"name": "Kind (4 t/m 11 jaar)",
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
@ -836,7 +827,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -846,10 +837,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -921,12 +928,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 109,
|
"productId": 109,
|
||||||
"parentProductId": 49,
|
"parentProductId": 49,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 2,
|
|
||||||
"choiceKey": "regio",
|
|
||||||
"choiceLabel": "Kies de gewenste regio",
|
|
||||||
"isCustomChoice": true,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -956,6 +957,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 2,
|
"gboAgeProfileId": 2,
|
||||||
"name": "Kind (4 t/m 11 jaar)",
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
@ -983,7 +990,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -996,10 +1003,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1071,12 +1094,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 114,
|
"productId": 114,
|
||||||
"parentProductId": 109,
|
"parentProductId": 109,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 3,
|
|
||||||
"choiceKey": "allowedGboAgeProfiles",
|
|
||||||
"choiceLabel": "Wat is uw geboortedatum?",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1106,6 +1123,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 4,
|
"gboAgeProfileId": 4,
|
||||||
"name": "Volwassene (19 t/m 64 jaar)",
|
"name": "Volwassene (19 t/m 64 jaar)",
|
||||||
@ -1121,7 +1144,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1134,10 +1157,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1221,12 +1260,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 115,
|
"productId": 115,
|
||||||
"parentProductId": 109,
|
"parentProductId": 109,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 3,
|
|
||||||
"choiceKey": "allowedGboAgeProfiles",
|
|
||||||
"choiceLabel": "Wat is uw geboortedatum?",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1271,7 +1304,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1284,10 +1317,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1372,12 +1421,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 116,
|
"productId": 116,
|
||||||
"parentProductId": 115,
|
"parentProductId": 115,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1422,7 +1465,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1435,10 +1478,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1526,12 +1585,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 117,
|
"productId": 117,
|
||||||
"parentProductId": 115,
|
"parentProductId": 115,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1576,7 +1629,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1589,10 +1642,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1684,12 +1753,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 112,
|
"productId": 112,
|
||||||
"parentProductId": 49,
|
"parentProductId": 49,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 2,
|
|
||||||
"choiceKey": "regio",
|
|
||||||
"choiceLabel": "Kies de gewenste regio",
|
|
||||||
"isCustomChoice": true,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33618",
|
"gboPackageTemplateId": "33618",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1719,6 +1782,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 2,
|
"gboAgeProfileId": 2,
|
||||||
"name": "Kind (4 t/m 11 jaar)",
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
@ -1746,7 +1815,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1759,11 +1828,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1853,53 +1937,6 @@ paths:
|
|||||||
}
|
}
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
LayerInfoResponse:
|
|
||||||
type: object
|
|
||||||
description: >-
|
|
||||||
Gives information on the choice that the customer has to make, to enable the touchpoint
|
|
||||||
to proceed further "down the product-tree" by selecting (PATCH-ing) the correct product-variant.
|
|
||||||
LayerInfo is not a mandatory product-attribute, but it should always be present on all product for which
|
|
||||||
`parentProductId != null`. (LayerInfo makes no sense for top-level parents as there is always a single starting point). \
|
|
||||||
|
|
||||||
**PMT should ensure that all products in the same "product-branch" (same `parentProductId`) have the same `layerInfoId`
|
|
||||||
referenced. If a product is found to be in violation of this rule, its attribtue `isValid` should be set to `false`.**
|
|
||||||
required:
|
|
||||||
- layerInfoId
|
|
||||||
- choiceKey
|
|
||||||
- choiceLabel
|
|
||||||
- isCustomChoice
|
|
||||||
properties:
|
|
||||||
layerInfoId:
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
choiceKey:
|
|
||||||
example: isRenewable
|
|
||||||
type: string
|
|
||||||
description: >-
|
|
||||||
Contains the JSON Key of the product-attribute that the customer has to make some
|
|
||||||
choice on (determined by PMT), so that te correct product-variant can be selected by the touchpoint. For some
|
|
||||||
decisions (like region), there is no product attribute, and thus `isCustomChoice` will be set
|
|
||||||
to `true`, and `choiceKey` can then be set to any string on which touchpoints can also trigger
|
|
||||||
behaviour if desired (think "region picker tool"). Therefore, reuse of choiceKeys should be
|
|
||||||
the goal, so touchoints can keep their triggers simple and prevent duplication of
|
|
||||||
similar choiceKeys to trigger the same behaviour.
|
|
||||||
choiceLabel:
|
|
||||||
example: Kies voor een doorlopend abonnement of een enkele termijn
|
|
||||||
type: string
|
|
||||||
description: >-
|
|
||||||
Contains a human-readable label for the choice that the customer has to make - this label
|
|
||||||
should be something that is easy to understand for the customer. Only one label (and thus, one language)
|
|
||||||
is supported; label translations should be handled by the touchpoint.
|
|
||||||
isCustomChoice:
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
description: >-
|
|
||||||
Indicates if the choice is a custom choice. If `false`, the PMT should fill `choiceKey` with the
|
|
||||||
"differing attribute for this product-layer" and the user should not be able to override this. When
|
|
||||||
no single attribute can be pinpointed by PMT, the product will become invalid (`isValid == false`) until either
|
|
||||||
a situation with a single differing attribute is created, or if `isCustomChoice` is set to `true` - this would,
|
|
||||||
however, also mean that touchpoints should be notified of this, especially if the configured LayerInfo contains
|
|
||||||
a new, not previously used, `choiceKey`.
|
|
||||||
GboAgeProfileResponse:
|
GboAgeProfileResponse:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
@ -2162,8 +2199,6 @@ components:
|
|||||||
parentProductId:
|
parentProductId:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1
|
example: 1
|
||||||
layerInfo:
|
|
||||||
$ref: '#/components/schemas/LayerInfoResponse'
|
|
||||||
fikoArticleNumber:
|
fikoArticleNumber:
|
||||||
type: string
|
type: string
|
||||||
description: The article number of the product in FIKO
|
description: The article number of the product in FIKO
|
||||||
|
|||||||
@ -90,7 +90,7 @@ paths:
|
|||||||
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 5,
|
"productCategoryId": 6,
|
||||||
"isTravelProduct": false,
|
"isTravelProduct": false,
|
||||||
"name": "Barcode",
|
"name": "Barcode",
|
||||||
},
|
},
|
||||||
@ -123,7 +123,7 @@ paths:
|
|||||||
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 5,
|
"productCategoryId": 6,
|
||||||
"isTravelProduct": false,
|
"isTravelProduct": false,
|
||||||
"name": "Barcode",
|
"name": "Barcode",
|
||||||
},
|
},
|
||||||
@ -156,7 +156,7 @@ paths:
|
|||||||
"productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in het gekozen gebied in de regio Rotterdam Den Haag.",
|
"productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in het gekozen gebied in de regio Rotterdam Den Haag.",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -222,7 +222,7 @@ paths:
|
|||||||
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
"productDescription": "Reis een dag met het openbaar vervoer bij HTM",
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 5,
|
"productCategoryId": 6,
|
||||||
"isTravelProduct": false,
|
"isTravelProduct": false,
|
||||||
"name": "Barcode",
|
"name": "Barcode",
|
||||||
},
|
},
|
||||||
@ -313,7 +313,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 24,
|
"productId": 24,
|
||||||
"parentProductId": null,
|
"parentProductId": null,
|
||||||
"layerInfo": null,
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30901",
|
"gboPackageTemplateId": "30901",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -426,7 +425,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 126,
|
"productId": 126,
|
||||||
"parentProductId": null,
|
"parentProductId": null,
|
||||||
"layerInfo": null,
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30001",
|
"gboPackageTemplateId": "30001",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -529,12 +527,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 119,
|
"productId": 119,
|
||||||
"parentProductId": 126,
|
"parentProductId": 126,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30001",
|
"gboPackageTemplateId": "30001",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -649,12 +641,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 120,
|
"productId": 120,
|
||||||
"parentProductId": 126,
|
"parentProductId": 126,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "30001",
|
"gboPackageTemplateId": "30001",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -779,7 +765,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 49,
|
"productId": 49,
|
||||||
"parentProductId": null,
|
"parentProductId": null,
|
||||||
"layerInfo": null,
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": null,
|
"gboPackageTemplateId": null,
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -809,6 +794,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 2,
|
"gboAgeProfileId": 2,
|
||||||
"name": "Kind (4 t/m 11 jaar)",
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
@ -836,7 +827,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -846,10 +837,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -921,12 +928,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 109,
|
"productId": 109,
|
||||||
"parentProductId": 49,
|
"parentProductId": 49,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 2,
|
|
||||||
"choiceKey": "regio",
|
|
||||||
"choiceLabel": "Kies de gewenste regio",
|
|
||||||
"isCustomChoice": true,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -956,6 +957,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 2,
|
"gboAgeProfileId": 2,
|
||||||
"name": "Kind (4 t/m 11 jaar)",
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
@ -983,7 +990,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -996,10 +1003,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1071,12 +1094,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 114,
|
"productId": 114,
|
||||||
"parentProductId": 109,
|
"parentProductId": 109,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 3,
|
|
||||||
"choiceKey": "allowedGboAgeProfiles",
|
|
||||||
"choiceLabel": "Wat is uw geboortedatum?",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1106,6 +1123,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 4,
|
"gboAgeProfileId": 4,
|
||||||
"name": "Volwassene (19 t/m 64 jaar)",
|
"name": "Volwassene (19 t/m 64 jaar)",
|
||||||
@ -1121,7 +1144,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1134,10 +1157,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1221,12 +1260,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 115,
|
"productId": 115,
|
||||||
"parentProductId": 109,
|
"parentProductId": 109,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 3,
|
|
||||||
"choiceKey": "allowedGboAgeProfiles",
|
|
||||||
"choiceLabel": "Wat is uw geboortedatum?",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1271,7 +1304,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1284,10 +1317,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1372,12 +1421,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 116,
|
"productId": 116,
|
||||||
"parentProductId": 115,
|
"parentProductId": 115,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1422,7 +1465,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1435,10 +1478,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1526,12 +1585,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 117,
|
"productId": 117,
|
||||||
"parentProductId": 115,
|
"parentProductId": 115,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 1,
|
|
||||||
"choiceKey": "isRenewable",
|
|
||||||
"choiceLabel": "Kies voor een doorlopend abonnement of een enkele termijn",
|
|
||||||
"isCustomChoice": false,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33615",
|
"gboPackageTemplateId": "33615",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1576,7 +1629,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1589,10 +1642,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1654,7 +1723,7 @@ paths:
|
|||||||
"country": "Nederland",
|
"country": "Nederland",
|
||||||
"emailAddress": "info@htm.nl",
|
"emailAddress": "info@htm.nl",
|
||||||
"phoneNumber": "070 374 9002",
|
"phoneNumber": "070 374 9002",
|
||||||
"taxId": 572309345923,
|
"taxId": "572309345923",
|
||||||
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
|
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -1684,12 +1753,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 112,
|
"productId": 112,
|
||||||
"parentProductId": 49,
|
"parentProductId": 49,
|
||||||
"layerInfo": {
|
|
||||||
"layerInfoId": 2,
|
|
||||||
"choiceKey": "regio",
|
|
||||||
"choiceLabel": "Kies de gewenste regio",
|
|
||||||
"isCustomChoice": true,
|
|
||||||
},
|
|
||||||
"fikoArticleNumber": "1234",
|
"fikoArticleNumber": "1234",
|
||||||
"gboPackageTemplateId": "33618",
|
"gboPackageTemplateId": "33618",
|
||||||
"tapConnectProductCode": null,
|
"tapConnectProductCode": null,
|
||||||
@ -1719,6 +1782,12 @@ paths:
|
|||||||
"customerSegments": [],
|
"customerSegments": [],
|
||||||
"allowedGboAgeProfiles":
|
"allowedGboAgeProfiles":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Baby/peuter (0 t/m 3 jaar)",
|
||||||
|
"ageFromInclusive": 0,
|
||||||
|
"ageToInclusive": 3,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"gboAgeProfileId": 2,
|
"gboAgeProfileId": 2,
|
||||||
"name": "Kind (4 t/m 11 jaar)",
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
@ -1746,7 +1815,7 @@ paths:
|
|||||||
],
|
],
|
||||||
"productCategory":
|
"productCategory":
|
||||||
{
|
{
|
||||||
"productCategoryId": 2,
|
"productCategoryId": 3,
|
||||||
"isTravelProduct": true,
|
"isTravelProduct": true,
|
||||||
"name": "Afgekocht reisrecht",
|
"name": "Afgekocht reisrecht",
|
||||||
},
|
},
|
||||||
@ -1759,11 +1828,26 @@ paths:
|
|||||||
"incompatibleProducts": [],
|
"incompatibleProducts": [],
|
||||||
"mandatoryCustomerDataItems":
|
"mandatoryCustomerDataItems":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 1,
|
||||||
|
"customerDataItem": "birthname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 2,
|
||||||
|
"customerDataItem": "surname",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 3,
|
||||||
|
"customerDataItem": "dateOfBirth",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 4,
|
"mandatoryCustomerDataItemId": 4,
|
||||||
"customerDataItem": "emailAddress",
|
"customerDataItem": "emailAddress",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mandatoryCustomerDataItemId": 7,
|
||||||
|
"customerDataItem": "ovPayToken",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mandatoryCustomerDataItemId": 8,
|
"mandatoryCustomerDataItemId": 8,
|
||||||
"customerDataItem": "padBirthDate",
|
"customerDataItem": "padBirthDate",
|
||||||
@ -1821,7 +1905,7 @@ paths:
|
|||||||
"country": "Nederland",
|
"country": "Nederland",
|
||||||
"emailAddress": "info@htm.nl",
|
"emailAddress": "info@htm.nl",
|
||||||
"phoneNumber": "070 374 9002",
|
"phoneNumber": "070 374 9002",
|
||||||
"taxId": 572309345923,
|
"taxId": "572309345923",
|
||||||
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
|
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -1853,53 +1937,6 @@ paths:
|
|||||||
}
|
}
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
LayerInfoResponse:
|
|
||||||
type: object
|
|
||||||
description: >-
|
|
||||||
Gives information on the choice that the customer has to make, to enable the touchpoint
|
|
||||||
to proceed further "down the product-tree" by selecting (PATCH-ing) the correct product-variant.
|
|
||||||
LayerInfo is not a mandatory product-attribute, but it should always be present on all product for which
|
|
||||||
`parentProductId != null`. (LayerInfo makes no sense for top-level parents as there is always a single starting point). \
|
|
||||||
|
|
||||||
**PMT should ensure that all products in the same "product-branch" (same `parentProductId`) have the same `layerInfoId`
|
|
||||||
referenced. If a product is found to be in violation of this rule, its attribtue `isValid` should be set to `false`.**
|
|
||||||
required:
|
|
||||||
- layerInfoId
|
|
||||||
- choiceKey
|
|
||||||
- choiceLabel
|
|
||||||
- isCustomChoice
|
|
||||||
properties:
|
|
||||||
layerInfoId:
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
choiceKey:
|
|
||||||
example: isRenewable
|
|
||||||
type: string
|
|
||||||
description: >-
|
|
||||||
Contains the JSON Key of the product-attribute that the customer has to make some
|
|
||||||
choice on (determined by PMT), so that te correct product-variant can be selected by the touchpoint. For some
|
|
||||||
decisions (like region), there is no product attribute, and thus `isCustomChoice` will be set
|
|
||||||
to `true`, and `choiceKey` can then be set to any string on which touchpoints can also trigger
|
|
||||||
behaviour if desired (think "region picker tool"). Therefore, reuse of choiceKeys should be
|
|
||||||
the goal, so touchoints can keep their triggers simple and prevent duplication of
|
|
||||||
similar choiceKeys to trigger the same behaviour.
|
|
||||||
choiceLabel:
|
|
||||||
example: Kies voor een doorlopend abonnement of een enkele termijn
|
|
||||||
type: string
|
|
||||||
description: >-
|
|
||||||
Contains a human-readable label for the choice that the customer has to make - this label
|
|
||||||
should be something that is easy to understand for the customer. Only one label (and thus, one language)
|
|
||||||
is supported; label translations should be handled by the touchpoint.
|
|
||||||
isCustomChoice:
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
description: >-
|
|
||||||
Indicates if the choice is a custom choice. If `false`, the PMT should fill `choiceKey` with the
|
|
||||||
"differing attribute for this product-layer" and the user should not be able to override this. When
|
|
||||||
no single attribute can be pinpointed by PMT, the product will become invalid (`isValid == false`) until either
|
|
||||||
a situation with a single differing attribute is created, or if `isCustomChoice` is set to `true` - this would,
|
|
||||||
however, also mean that touchpoints should be notified of this, especially if the configured LayerInfo contains
|
|
||||||
a new, not previously used, `choiceKey`.
|
|
||||||
GboAgeProfileResponse:
|
GboAgeProfileResponse:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
@ -2162,8 +2199,6 @@ components:
|
|||||||
parentProductId:
|
parentProductId:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1
|
example: 1
|
||||||
layerInfo:
|
|
||||||
$ref: '#/components/schemas/LayerInfoResponse'
|
|
||||||
fikoArticleNumber:
|
fikoArticleNumber:
|
||||||
type: string
|
type: string
|
||||||
description: The article number of the product in FIKO
|
description: The article number of the product in FIKO
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user