switched request body and response
This commit is contained in:
parent
4202bb03f1
commit
3d42458d12
@ -482,38 +482,26 @@ paths:
|
|||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"emailAddress": "anonymous@mymailprovider.com",
|
"emailAddress": "anonymous@mymailprovider.com",
|
||||||
"notificationCategory": {
|
|
||||||
"notificationCategoryId": 1,
|
"notificationCategoryId": 1,
|
||||||
"name": "HTM nieuwbrief"
|
|
||||||
},
|
|
||||||
"isActive": True
|
"isActive": True
|
||||||
}
|
}
|
||||||
Create notificationSubscription anonymous inactive:
|
Create notificationSubscription anonymous inactive:
|
||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"emailAddress": "anonymous@mymailprovider.com",
|
"emailAddress": "anonymous@mymailprovider.com",
|
||||||
"notificationCategory": {
|
|
||||||
"notificationCategoryId": 1,
|
"notificationCategoryId": 1,
|
||||||
"name": "HTM nieuwbrief"
|
|
||||||
},
|
|
||||||
"isActive": False
|
"isActive": False
|
||||||
}
|
}
|
||||||
Create notificationSubscription account active:
|
Create notificationSubscription account active:
|
||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"notificationCategory": {
|
|
||||||
"notificationCategoryId": 2,
|
"notificationCategoryId": 2,
|
||||||
"name": "Mijn reizen"
|
|
||||||
},
|
|
||||||
"isActive": True
|
"isActive": True
|
||||||
}
|
}
|
||||||
Create notificationSubscription account inactive:
|
Create notificationSubscription account inactive:
|
||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"notificationCategory": {
|
|
||||||
"notificationCategoryId": 2,
|
"notificationCategoryId": 2,
|
||||||
"name": "Mijn reizen"
|
|
||||||
},
|
|
||||||
"isActive": False
|
"isActive": False
|
||||||
}
|
}
|
||||||
responses:
|
responses:
|
||||||
@ -527,7 +515,10 @@ paths:
|
|||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"notificationSubscriptionId": "e112f26e-37fa-4bde-8def-9977cd1d50ae",
|
"notificationSubscriptionId": "e112f26e-37fa-4bde-8def-9977cd1d50ae",
|
||||||
|
"notificationCategory": {
|
||||||
"notificationCategoryId": 1,
|
"notificationCategoryId": 1,
|
||||||
|
"name": "HTM nieuwbrief"
|
||||||
|
},
|
||||||
"isActive": True
|
"isActive": True
|
||||||
}
|
}
|
||||||
Create notificationSubscription anonymous inactive:
|
Create notificationSubscription anonymous inactive:
|
||||||
@ -535,7 +526,10 @@ paths:
|
|||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"notificationSubscriptionId": "d51081fd-c48d-4111-8de4-ac5db7d47ecb",
|
"notificationSubscriptionId": "d51081fd-c48d-4111-8de4-ac5db7d47ecb",
|
||||||
|
"notificationCategory": {
|
||||||
"notificationCategoryId": 1,
|
"notificationCategoryId": 1,
|
||||||
|
"name": "HTM nieuwbrief"
|
||||||
|
},
|
||||||
"isActive": False
|
"isActive": False
|
||||||
}
|
}
|
||||||
Create notificationSubscription account active:
|
Create notificationSubscription account active:
|
||||||
@ -543,7 +537,10 @@ paths:
|
|||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"notificationSubscriptionId": "6b88eba1-af1f-42fc-82d3-d7202d5f1afe",
|
"notificationSubscriptionId": "6b88eba1-af1f-42fc-82d3-d7202d5f1afe",
|
||||||
|
"notificationCategory": {
|
||||||
"notificationCategoryId": 2,
|
"notificationCategoryId": 2,
|
||||||
|
"name": "Mijn reizen"
|
||||||
|
},
|
||||||
"isActive": True
|
"isActive": True
|
||||||
}
|
}
|
||||||
Create notificationSubscription account inactive:
|
Create notificationSubscription account inactive:
|
||||||
@ -551,7 +548,10 @@ paths:
|
|||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
"notificationSubscriptionId": "0dfc0ac9-c221-4493-8828-9dfa79ad9061",
|
"notificationSubscriptionId": "0dfc0ac9-c221-4493-8828-9dfa79ad9061",
|
||||||
"notificationCategoryId": 3,
|
"notificationCategory": {
|
||||||
|
"notificationCategoryId": 2,
|
||||||
|
"name": "Mijn reizen"
|
||||||
|
},
|
||||||
"isActive": False
|
"isActive": False
|
||||||
}
|
}
|
||||||
"405":
|
"405":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user