Skip to content

Create or update event subscription for multiple companies.

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
subscriptionNamestringrequired

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

Query
skipinteger, (int32)

Number of entries to skip.

takeinteger, (int32)

Number of entries to return.

Body

Event subscription batch.

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

Responses

OK

Body
totalCountinteger, (int32)
skipinteger or null, (int32)
takeinteger or null, (int32)
itemsArray of objects or null(BankEventSubscriptionResponse)
Response
{
  "totalCount": 0,
  "skip": 0,
  "take": 0,
  "items": [
    {
      "subscriptionName": "string",
      "companyId": "string",
      "provisioningState": "string",
      "id": "string",
      "topic": "string",
      "labels": [
        "string"
      ],
      "links": [
        {
          "rel": "string",
          "method": "string",
          "href": "http://example.com"
        }
      ]
    }
  ]
}