TAG LINE
TAG LINE
SMALL TITLE

Event Subscription

(API Version v10)


What can you do with EventSubscription?


Properties

Property Details
identity
READ-ONLY
"identity": 5
Type: Number
This is the unique numeric identifier for the EventSubscription
name
"name": "Hello World"
Type: String
description
"description": "Hello World"
Type: String
isActive
"isActive": true
Type: Boolean
eventRegistrationId
"eventRegistrationId": 12
Type: Number
Unique identifier for the associated EventRegistration object.
eventRegistrationName
"eventRegistrationName": "Sample Name"
Type: String
The name of the object associated with the eventRegistrationId property.
eventBindingActionId
"eventBindingActionId": 0
Type: Number
Unique identifier for the associated EventBindingAction object.
eventBindingActionName
"eventBindingActionName": "Sample Name"
Type: String
The name of the object associated with the eventBindingActionId property.
accessTypeId
"accessTypeId": 15
Type: Number
Unique identifier for the associated AccessType object.
accessTypeName
"accessTypeName": "Sample Name"
Type: String
The name of the object associated with the accessTypeId property.
createdByUserId
"createdByUserId": 13
Type: Number
Unique identifier for the associated User object.
createdByUserName
"createdByUserName": "Sample Name"
Type: String
The name of the object associated with the createdByUserId property.
updatedByUserId
"updatedByUserId": 1
Type: Number
Unique identifier for the associated User object.
updatedByUserName
"updatedByUserName": "Sample Name"
Type: String
The name of the object associated with the updatedByUserId property.
created
READ-ONLY
"created": "2021-04-26T15:25:27.587Z"
Type: Date
This is a system generated date when the record was created. Date and time values are specified in the ISO 8601 format.


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call. Below you will find the child objects that can be updated as part of PATCH operations for the EventSubscription object.

Standard PATCH objects:

  • eventSubscriptionFilter - create, update, delete
  • webhookConfiguration - create, update, delete

DataFlow PATCH objects:

  • eventSubscription - create, update, delete
  • eventSubscriptionFilter - create, update, delete
  • webhookConfiguration - create, update, delete

End Points

DELETEEventSubscription/Email/{id}
Delete an instance of the EventSubscription object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the EventSubscription object.
Delete an instance of the EventSubscription object.
DELETE EventSubscription/Email/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "eventSubscription"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
DELETEEventSubscription/Webhook/{id}
Delete an instance of the EventSubscription object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the EventSubscription object.
Delete an instance of the EventSubscription object.
DELETE EventSubscription/Webhook/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "eventSubscription"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETEventSubscription/Email/
Retrieve all of the EventSubscription objects.
Retrieve all of the EventSubscription objects.
GET EventSubscription/Email/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Sample Text Data",
            "description": "Sample Text Data",
            "isActive": true,
            "eventRegistrationId": 11,
            "eventRegistrationName": "Sample Text Data",
            "eventBindingActionId": 19,
            "eventBindingActionName": "Sample Text Data",
            "accessTypeId": 15,
            "accessTypeName": "Sample Text Data",
            "createdByUserId": 22,
            "createdByUserName": "Sample Text Data",
            "updatedByUserId": 16,
            "updatedByUserName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z"
        }
    ]
}
GETEventSubscription/Webhook/
Retrieve all of the EventSubscription objects.
Retrieve all of the EventSubscription objects.
GET EventSubscription/Webhook/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Sample Text Data",
            "description": "Sample Text Data",
            "isActive": true,
            "eventRegistrationId": 15,
            "eventRegistrationName": "Sample Text Data",
            "eventBindingActionId": 9,
            "eventBindingActionName": "Sample Text Data",
            "accessTypeId": 1,
            "accessTypeName": "Sample Text Data",
            "createdByUserId": 11,
            "createdByUserName": "Sample Text Data",
            "updatedByUserId": 14,
            "updatedByUserName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z"
        }
    ]
}
PATCHEventSubscription/Email/{id}
Update or Add the EventSubscription object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the EventSubscription object.
Update or Add the EventSubscription object and optionally make changes to any child objects.
PATCH EventSubscription/Email/{id}

{
    "details": {},
    "eventSubscriptions": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "name": "Sample Text Data",
                "description": "Sample Text Data",
                "isActive": true,
                "eventRegistrationId": 12,
                "eventBindingActionId": 3,
                "accessTypeId": 14,
                "createdByUserId": 10,
                "updatedByUserId": 5
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "eventSubscription",
                "instance": {
                    "identity": 1,
                    "name": "Sample Text Data",
                    "description": "Sample Text Data",
                    "isActive": true,
                    "eventRegistrationId": 25,
                    "eventRegistrationName": "Sample Text Data",
                    "eventBindingActionId": 5,
                    "eventBindingActionName": "Sample Text Data",
                    "accessTypeId": 21,
                    "accessTypeName": "Sample Text Data",
                    "createdByUserId": 16,
                    "createdByUserName": "Sample Text Data",
                    "updatedByUserId": 19,
                    "updatedByUserName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z"
                }
            }
        ]
    }
}
PATCHEventSubscription/Webhook/{id}
Update or Add the EventSubscription object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the EventSubscription object.
Update or Add the EventSubscription object and optionally make changes to any child objects.
PATCH EventSubscription/Webhook/{id}

{
    "details": {},
    "eventSubscriptions": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "name": "Sample Text Data",
                "description": "Sample Text Data",
                "isActive": true,
                "eventRegistrationId": 23,
                "eventBindingActionId": 3,
                "accessTypeId": 5,
                "createdByUserId": 1,
                "updatedByUserId": 26
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "eventSubscription",
                "instance": {
                    "identity": 1,
                    "name": "Sample Text Data",
                    "description": "Sample Text Data",
                    "isActive": true,
                    "eventRegistrationId": 9,
                    "eventRegistrationName": "Sample Text Data",
                    "eventBindingActionId": 21,
                    "eventBindingActionName": "Sample Text Data",
                    "accessTypeId": 21,
                    "accessTypeName": "Sample Text Data",
                    "createdByUserId": 0,
                    "createdByUserName": "Sample Text Data",
                    "updatedByUserId": 15,
                    "updatedByUserName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z"
                }
            }
        ]
    }
}
POSTEventSubscription/Email/
Create a new instance of the EventSubscription object.
Create a new instance of the EventSubscription object.
POST EventSubscription/Email/

{
    "name": "Sample Text Data",
    "description": "Sample Text Data",
    "isActive": true,
    "eventRegistrationId": 5,
    "eventBindingActionId": 18,
    "accessTypeId": 1,
    "createdByUserId": 17,
    "updatedByUserId": 1
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Sample Text Data",
                "description": "Sample Text Data",
                "isActive": true,
                "eventRegistrationId": 4,
                "eventRegistrationName": "Sample Text Data",
                "eventBindingActionId": 8,
                "eventBindingActionName": "Sample Text Data",
                "accessTypeId": 4,
                "accessTypeName": "Sample Text Data",
                "createdByUserId": 20,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 21,
                "updatedByUserName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
POSTEventSubscription/Webhook/
Create a new instance of the EventSubscription object.
Create a new instance of the EventSubscription object.
POST EventSubscription/Webhook/

{
    "name": "Sample Text Data",
    "description": "Sample Text Data",
    "isActive": true,
    "eventRegistrationId": 9,
    "eventBindingActionId": 27,
    "accessTypeId": 3,
    "createdByUserId": 10,
    "updatedByUserId": 5
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Sample Text Data",
                "description": "Sample Text Data",
                "isActive": true,
                "eventRegistrationId": 17,
                "eventRegistrationName": "Sample Text Data",
                "eventBindingActionId": 24,
                "eventBindingActionName": "Sample Text Data",
                "accessTypeId": 14,
                "accessTypeName": "Sample Text Data",
                "createdByUserId": 23,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 8,
                "updatedByUserName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
PUTEventSubscription/Email/{id}
Update an existing instance of the EventSubscription object.
Update an existing instance of the EventSubscription object.
PUT EventSubscription/Email/{id}

{
    "identity": 1,
    "name": "Sample Text Data",
    "description": "Sample Text Data",
    "isActive": true,
    "eventRegistrationId": 25,
    "eventBindingActionId": 27,
    "accessTypeId": 24,
    "createdByUserId": 21,
    "updatedByUserId": 10
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Sample Text Data",
                "description": "Sample Text Data",
                "isActive": true,
                "eventRegistrationId": 1,
                "eventRegistrationName": "Sample Text Data",
                "eventBindingActionId": 15,
                "eventBindingActionName": "Sample Text Data",
                "accessTypeId": 23,
                "accessTypeName": "Sample Text Data",
                "createdByUserId": 22,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 10,
                "updatedByUserName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
PUTEventSubscription/Webhook/{id}
Update an existing instance of the EventSubscription object.
Update an existing instance of the EventSubscription object.
PUT EventSubscription/Webhook/{id}

{
    "identity": 1,
    "name": "Sample Text Data",
    "description": "Sample Text Data",
    "isActive": true,
    "eventRegistrationId": 8,
    "eventBindingActionId": 3,
    "accessTypeId": 15,
    "createdByUserId": 25,
    "updatedByUserId": 18
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Sample Text Data",
                "description": "Sample Text Data",
                "isActive": true,
                "eventRegistrationId": 22,
                "eventRegistrationName": "Sample Text Data",
                "eventBindingActionId": 23,
                "eventBindingActionName": "Sample Text Data",
                "accessTypeId": 25,
                "accessTypeName": "Sample Text Data",
                "createdByUserId": 6,
                "createdByUserName": "Sample Text Data",
                "updatedByUserId": 4,
                "updatedByUserName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}