diff --git a/src/openapi/customers/SE-notifications.yaml b/src/openapi/customers/SE-notifications.yaml index 806f23b..107f7cc 100644 --- a/src/openapi/customers/SE-notifications.yaml +++ b/src/openapi/customers/SE-notifications.yaml @@ -482,38 +482,26 @@ paths: value: { "emailAddress": "anonymous@mymailprovider.com", - "notificationCategory": { - "notificationCategoryId": 1, - "name": "HTM nieuwbrief" - }, + "notificationCategoryId": 1, "isActive": True } Create notificationSubscription anonymous inactive: value: { "emailAddress": "anonymous@mymailprovider.com", - "notificationCategory": { - "notificationCategoryId": 1, - "name": "HTM nieuwbrief" - }, + "notificationCategoryId": 1, "isActive": False } Create notificationSubscription account active: value: { - "notificationCategory": { - "notificationCategoryId": 2, - "name": "Mijn reizen" - }, - "isActive": True + "notificationCategoryId": 2, + "isActive": True } Create notificationSubscription account inactive: value: { - "notificationCategory": { - "notificationCategoryId": 2, - "name": "Mijn reizen" - }, + "notificationCategoryId": 2, "isActive": False } responses: @@ -527,7 +515,10 @@ paths: value: { "notificationSubscriptionId": "e112f26e-37fa-4bde-8def-9977cd1d50ae", - "notificationCategoryId": 1, + "notificationCategory": { + "notificationCategoryId": 1, + "name": "HTM nieuwbrief" + }, "isActive": True } Create notificationSubscription anonymous inactive: @@ -535,7 +526,10 @@ paths: value: { "notificationSubscriptionId": "d51081fd-c48d-4111-8de4-ac5db7d47ecb", - "notificationCategoryId": 1, + "notificationCategory": { + "notificationCategoryId": 1, + "name": "HTM nieuwbrief" + }, "isActive": False } Create notificationSubscription account active: @@ -543,7 +537,10 @@ paths: value: { "notificationSubscriptionId": "6b88eba1-af1f-42fc-82d3-d7202d5f1afe", - "notificationCategoryId": 2, + "notificationCategory": { + "notificationCategoryId": 2, + "name": "Mijn reizen" + }, "isActive": True } Create notificationSubscription account inactive: @@ -551,7 +548,10 @@ paths: value: { "notificationSubscriptionId": "0dfc0ac9-c221-4493-8828-9dfa79ad9061", - "notificationCategoryId": 3, + "notificationCategory": { + "notificationCategoryId": 2, + "name": "Mijn reizen" + }, "isActive": False } "405":