Skip to content

Create or update event subscription.

Request

Security
client_credentials(Required scopes: openidprofilebankservice) or implicit(Required scopes: openidprofilebankservice) or client_credentials_dev(Required scopes: openidprofilebankservice) or implicit_dev(Required scopes: openidprofilebankservice)
Path
companyIdstring, (uuid)required

Company id.

subscriptionNamestringrequired

Subscription name (only A-Z a-z 0-9 and "-") (3-64 characters).

Body

Event subscription.

eventTypesArray of strings or null
destinationobject(EventSubscriptionDestination)
{ "eventTypes": [ "string" ], "destination": { "endpointUrl": "string", "maxEventsPerBatch": 0, "preferredBatchSizeInKilobytes": 0, "azureActiveDirectoryApplicationIdOrUri": "string", "azureActiveDirectoryTenantId": "string" } }

Responses

OK

Body
subscriptionNamestring or null
companyIdstring or null
provisioningStatestring or null
idstring or null
topicstring or null
labelsArray of strings or null
Response
{ "subscriptionName": "string", "companyId": "string", "provisioningState": "string", "id": "string", "topic": "string", "labels": [ "string" ], "links": [ { … } ] }