Compare commits
3 Commits
d2ffe35513
...
3cbcbeaf6d
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cbcbeaf6d | |||
| 81b3a0c96d | |||
| f63fbe1c9a |
@ -19,57 +19,18 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
description: Filter by notification subscription ID
|
description: Filter by notification subscription ID
|
||||||
- name: eventTypeChannelId
|
- name: notificationCategoryId
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: integer
|
||||||
format: uuid
|
description: Filter by notification category ID
|
||||||
description: Filter by event type channel ID
|
|
||||||
- name: eventTypeId
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
explode: false
|
|
||||||
description: Filter by event type IDs
|
|
||||||
- name: eventOriginId
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
description: Filter by event origin IDs
|
|
||||||
- name: channelId
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
description: Filter by channel IDs
|
|
||||||
- name: customerProfileId
|
- name: customerProfileId
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
description: Filter by customer profile ID
|
description: Filter by customer profile ID
|
||||||
- name: ovpayTokenId
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
description: Filter by OVPay token ID
|
|
||||||
# - name: deviceId
|
|
||||||
# in: query
|
|
||||||
# required: false
|
|
||||||
# schema:
|
|
||||||
# type: string
|
|
||||||
# format: uuid
|
|
||||||
# description: Filter by device ID
|
|
||||||
- name: isCurrentlyActive
|
- name: isCurrentlyActive
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
@ -95,100 +56,14 @@ paths:
|
|||||||
value:
|
value:
|
||||||
notificationSubscriptions: []
|
notificationSubscriptions: []
|
||||||
href: null
|
href: null
|
||||||
minimalNotificationSubscriptionResponse:
|
|
||||||
value:
|
|
||||||
notificationSubscriptions:
|
|
||||||
- notificationSubscriptionId: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
|
||||||
eventTypeChannel:
|
|
||||||
eventTypeChannelId: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
|
||||||
eventType:
|
|
||||||
eventTypeId: 15
|
|
||||||
eventOrigin:
|
|
||||||
eventOriginId: 1
|
|
||||||
name: GBO
|
|
||||||
description: Events originated at GBO
|
|
||||||
name: Travel
|
|
||||||
subname: Missing CKO
|
|
||||||
prettyName: Checkout gemist
|
|
||||||
optInRequired: true
|
|
||||||
channel:
|
|
||||||
channelId: 1
|
|
||||||
name: push
|
|
||||||
isDefault: true
|
|
||||||
isMandatory: false
|
|
||||||
customerProfileId: null
|
|
||||||
ovpayTokenId: null
|
|
||||||
# deviceId: null
|
|
||||||
subscriptionActivities:
|
|
||||||
- subscriptionActivityId: 579405e3-e7e2-433a-874d-2a129fd10183
|
|
||||||
user: "1001337"
|
|
||||||
timestamp: "2025-10-02T14:00:00Z"
|
|
||||||
isActive: true
|
|
||||||
_links:
|
|
||||||
edit:
|
|
||||||
href: /notificationsubscriptions/5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
|
||||||
method: PATCH
|
|
||||||
delete:
|
|
||||||
href: /notificationsubscriptions/5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
|
||||||
method: DELETE
|
|
||||||
- notificationSubscriptionId: 39e8d8e6-5c85-49b6-ba4b-62e47fa4f7fd
|
|
||||||
eventTypeChannel:
|
|
||||||
eventTypeChannelId: c4729ad4-46ef-4329-94f9-5079be21dfc5
|
|
||||||
eventType:
|
|
||||||
eventTypeId: 16
|
|
||||||
eventOrigin:
|
|
||||||
eventOriginId: 1
|
|
||||||
name: GBO
|
|
||||||
description: Events originated at GBO
|
|
||||||
name: Travel
|
|
||||||
subname: Missing CKI
|
|
||||||
prettyName: Checkin gemist
|
|
||||||
optInRequired: true
|
|
||||||
channel:
|
|
||||||
channelId: 1
|
|
||||||
name: push
|
|
||||||
isDefault: true
|
|
||||||
isMandatory: false
|
|
||||||
customerProfileId: null
|
|
||||||
ovpayTokenId: null
|
|
||||||
# deviceId: null
|
|
||||||
subscriptionActivities:
|
|
||||||
- subscriptionActivityId: 90353a1d-c5bd-44c2-aa75-57873b8071c8
|
|
||||||
user: "1001338"
|
|
||||||
timestamp: "2025-10-02T14:00:00Z"
|
|
||||||
isActive: false
|
|
||||||
_links:
|
|
||||||
edit:
|
|
||||||
href: /notificationsubscriptions/39e8d8e6-5c85-49b6-ba4b-62e47fa4f7fd
|
|
||||||
method: PATCH
|
|
||||||
delete:
|
|
||||||
href: /notificationsubscriptions/39e8d8e6-5c85-49b6-ba4b-62e47fa4f7fd
|
|
||||||
method: DELETE
|
|
||||||
href: null
|
|
||||||
fullNotificationSubscriptionResponse:
|
fullNotificationSubscriptionResponse:
|
||||||
value:
|
value:
|
||||||
notificationSubscriptions:
|
notificationSubscriptions:
|
||||||
- notificationSubscriptionId: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
- notificationSubscriptionId: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
||||||
eventTypeChannel:
|
notifcationCategory:
|
||||||
eventTypeChannelId: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
notifcationCategoryId: 1
|
||||||
eventType:
|
name: Mijn Reizen
|
||||||
eventTypeId: 15
|
|
||||||
eventOrigin:
|
|
||||||
eventOriginId: 1
|
|
||||||
name: GBO
|
|
||||||
description: Events originated at GBO
|
|
||||||
name: Travel
|
|
||||||
subname: Missing CKO
|
|
||||||
prettyName: Checkout gemist
|
|
||||||
optInRequired: true
|
|
||||||
channel:
|
|
||||||
channelId: 1
|
|
||||||
name: push
|
|
||||||
isDefault: true
|
|
||||||
isMandatory: false
|
|
||||||
customerProfileId: 1337
|
customerProfileId: 1337
|
||||||
ovpayTokenId: 42
|
|
||||||
# deviceId: 7122a988-a00a-417d-a5b4-da2d91354976
|
|
||||||
subscriptionActivities:
|
subscriptionActivities:
|
||||||
- subscriptionActivityId: 30b32657-1ba1-44e0-8868-4db807695387
|
- subscriptionActivityId: 30b32657-1ba1-44e0-8868-4db807695387
|
||||||
user: "1001337"
|
user: "1001337"
|
||||||
@ -206,26 +81,10 @@ paths:
|
|||||||
href: /notificationsubscriptions/5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
href: /notificationsubscriptions/5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
||||||
method: DELETE
|
method: DELETE
|
||||||
- notificationSubscriptionId: 39e8d8e6-5c85-49b6-ba4b-62e47fa4f7fd
|
- notificationSubscriptionId: 39e8d8e6-5c85-49b6-ba4b-62e47fa4f7fd
|
||||||
eventTypeChannel:
|
notifcationCategory:
|
||||||
eventTypeChannelId: c4729ad4-46ef-4329-94f9-5079be21dfc5
|
notifcationCategoryId: 2
|
||||||
eventType:
|
name: Mijn Passen
|
||||||
eventTypeId: 16
|
|
||||||
eventOrigin:
|
|
||||||
eventOriginId: 1
|
|
||||||
name: GBO
|
|
||||||
description: Events originated at GBO
|
|
||||||
name: Travel
|
|
||||||
subname: Missing CKI
|
|
||||||
prettyName: Checkin gemist
|
|
||||||
optInRequired: true
|
|
||||||
channel:
|
|
||||||
channelId: 1
|
|
||||||
name: push
|
|
||||||
isDefault: true
|
|
||||||
isMandatory: false
|
|
||||||
customerProfileId: 1338
|
customerProfileId: 1338
|
||||||
ovpayTokenId: 43
|
|
||||||
# deviceId: c4b8e1f3-8f4e-4d2a-9f3e-1c2b3a4d5e6f
|
|
||||||
subscriptionActivities:
|
subscriptionActivities:
|
||||||
- subscriptionActivityId: 7fae0d2c-1e20-4f3e-b25d-fd8505a381c4
|
- subscriptionActivityId: 7fae0d2c-1e20-4f3e-b25d-fd8505a381c4
|
||||||
user: "1001338"
|
user: "1001338"
|
||||||
@ -282,29 +141,14 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/PostNotificationSubscriptionRequest"
|
$ref: "#/components/schemas/PostNotificationSubscriptionRequest"
|
||||||
examples:
|
examples:
|
||||||
minimalNotificationSubscriptionRequest:
|
|
||||||
value:
|
|
||||||
eventTypeChannelId: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
|
||||||
subscriptionActivities: [
|
|
||||||
{
|
|
||||||
user: "1001337",
|
|
||||||
timestamp: "2025-10-02T14:00:00Z",
|
|
||||||
isActive: true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
fullNotificationSubscriptionRequest:
|
fullNotificationSubscriptionRequest:
|
||||||
value:
|
value:
|
||||||
eventTypeChannelId: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
notifcationCategoryId: 1
|
||||||
customerProfileId: 1337
|
customerProfileId: 1337
|
||||||
ovpayTokenId: 42
|
subscriptionActivities:
|
||||||
# deviceId: 7122a988-a00a-417d-a5b4-da2d91354976
|
- user: "1001337"
|
||||||
subscriptionActivities: [
|
timestamp: "2025-10-02T14:00:00Z"
|
||||||
{
|
isActive: true,
|
||||||
user: "1001337",
|
|
||||||
timestamp: "2025-10-02T14:00:00Z",
|
|
||||||
isActive: true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Notification subscription created successfully
|
description: Notification subscription created successfully
|
||||||
@ -313,62 +157,18 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/PostNotificationSubscriptionResponse"
|
$ref: "#/components/schemas/PostNotificationSubscriptionResponse"
|
||||||
examples:
|
examples:
|
||||||
minimalNotificationSubscriptionResponse:
|
|
||||||
value:
|
|
||||||
notificationSubscriptionId: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
|
||||||
eventTypeChannel:
|
|
||||||
eventTypeChannelId: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
|
||||||
eventType:
|
|
||||||
eventTypeId: 15
|
|
||||||
eventOrigin:
|
|
||||||
eventOriginId: 1
|
|
||||||
name: GBO
|
|
||||||
description: Events originated at GBO
|
|
||||||
name: Travel
|
|
||||||
subname: Missing CKO
|
|
||||||
prettyName: Checkout gemist
|
|
||||||
optInRequired: true
|
|
||||||
channel:
|
|
||||||
channelId: 1
|
|
||||||
name: push
|
|
||||||
isDefault: true
|
|
||||||
isMandatory: false
|
|
||||||
customerProfileId: null
|
|
||||||
ovpayTokenId: null
|
|
||||||
# deviceId: null
|
|
||||||
subscriptionActivities:
|
|
||||||
- subscriptionActivityId: 90353a1d-c5bd-44c2-aa75-57873b8071c8
|
|
||||||
user: "1001338"
|
|
||||||
timestamp: "2025-10-02T14:00:00Z"
|
|
||||||
isActive: false
|
|
||||||
fullNotificationSubscriptionResponse:
|
fullNotificationSubscriptionResponse:
|
||||||
value:
|
value:
|
||||||
notificationSubscriptionId: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
notificationSubscriptionId: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
||||||
eventTypeChannel:
|
notifcationCategory:
|
||||||
eventTypeChannelId: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
notifcationCategoryId: 1
|
||||||
eventType:
|
name: Mijn Reizen
|
||||||
eventTypeId: 15
|
|
||||||
eventOrigin:
|
|
||||||
eventOriginId: 1
|
|
||||||
name: GBO
|
|
||||||
description: Events originated at GBO
|
|
||||||
name: Travel
|
|
||||||
subname: Missing CKO
|
|
||||||
prettyName: Checkout gemist
|
|
||||||
optInRequired: true
|
|
||||||
channel:
|
|
||||||
channelId: 1
|
|
||||||
name: push
|
|
||||||
isDefault: true
|
|
||||||
isMandatory: false
|
|
||||||
customerProfileId: 1337
|
customerProfileId: 1337
|
||||||
ovpayTokenId: 42
|
|
||||||
# deviceId: 7122a988-a00a-417d-a5b4-da2d91354976
|
|
||||||
subscriptionActivities:
|
subscriptionActivities:
|
||||||
- subscriptionActivityId: 90353a1d-c5bd-44c2-aa75-57873b8071c8
|
- subscriptionActivityId: 90353a1d-c5bd-44c2-aa75-57873b8071c8
|
||||||
user: "1001338"
|
user: "1001337"
|
||||||
timestamp: "2025-10-02T14:00:00Z"
|
timestamp: "2025-10-02T14:00:00Z"
|
||||||
isActive: false
|
isActive: true
|
||||||
"400":
|
"400":
|
||||||
description: Bad request
|
description: Bad request
|
||||||
content:
|
content:
|
||||||
@ -979,18 +779,11 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
|
||||||
eventTypeChannel:
|
notifcationCategory:
|
||||||
$ref: "#/components/schemas/EventTypeChannel"
|
$ref: "#/components/schemas/NotificationCategory"
|
||||||
customerProfileId:
|
customerProfileId:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1337
|
example: 1337
|
||||||
ovpayTokenId:
|
|
||||||
type: integer
|
|
||||||
example: 42
|
|
||||||
# deviceId:
|
|
||||||
# type: string
|
|
||||||
# format: uuid
|
|
||||||
# example: 7122a988-a00a-417d-a5b4-da2d91354976
|
|
||||||
subscriptionActivities:
|
subscriptionActivities:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -1017,24 +810,17 @@ components:
|
|||||||
- isActive
|
- isActive
|
||||||
required:
|
required:
|
||||||
- notificationSubscriptionId
|
- notificationSubscriptionId
|
||||||
- eventTypeChannel
|
- notifcationCategory
|
||||||
|
- customerProfileId
|
||||||
PostNotificationSubscriptionRequest:
|
PostNotificationSubscriptionRequest:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
eventTypeChannelId:
|
notifcationCategoryId:
|
||||||
type: string
|
type: integer
|
||||||
format: uuid
|
example: 1
|
||||||
example: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
|
|
||||||
customerProfileId:
|
customerProfileId:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1337
|
example: 1337
|
||||||
ovpayTokenId:
|
|
||||||
type: integer
|
|
||||||
example: 42
|
|
||||||
# deviceId:
|
|
||||||
# type: string
|
|
||||||
# format: uuid
|
|
||||||
# example: 7122a988-a00a-417d-a5b4-da2d91354976
|
|
||||||
subscriptionActivities:
|
subscriptionActivities:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -1055,7 +841,8 @@ components:
|
|||||||
- timestamp
|
- timestamp
|
||||||
- isActive
|
- isActive
|
||||||
required:
|
required:
|
||||||
- eventTypeChannelId
|
- notifcationCategoryId
|
||||||
|
- customerProfileId
|
||||||
PostNotificationSubscriptionResponse:
|
PostNotificationSubscriptionResponse:
|
||||||
$ref: "#/components/schemas/NotificationSubscription"
|
$ref: "#/components/schemas/NotificationSubscription"
|
||||||
PostSubscriptionActivityRequest:
|
PostSubscriptionActivityRequest:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user