TAG LINE
TAG LINE
SMALL TITLE
identity READ-ONLY | "identity": 10 Type: Number This is the unique numeric identifier for the EmailTemplate |
ownerId READ-ONLY | "ownerId": 19 Type: Number Unique identifier for the associated Owner object. |
ownerName READ-ONLY | "ownerName": "Sample Name" Type: String The name of the object associated with the ownerId property. |
name | "name": "Hello World" Type: String |
emailTemplateTypeId | "emailTemplateTypeId": 5 Type: Number Unique identifier for the associated EmailTemplateType object. |
emailTemplateTypeName | "emailTemplateTypeName": "Sample Name" Type: String The name of the object associated with the emailTemplateTypeId property. |
description | "description": "Hello World" Type: String |
isActive | "isActive": true Type: Boolean |
subject | "subject": "Hello World" Type: String |
fromName | "fromName": "Hello World" Type: String |
fromEmailAddress | "fromEmailAddress": "Hello World" Type: String |
localeId | "localeId": 4 Type: Number Unique identifier for the associated Locale object. |
localeName | "localeName": "Sample Name" Type: String The name of the object associated with the localeId property. |
eventRegistrationId | "eventRegistrationId": 24 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. |
tokenContextTypeId | "tokenContextTypeId": 9 Type: Number Unique identifier for the associated TokenContextType object. |
tokenContextTypeName | "tokenContextTypeName": "Sample Name" Type: String The name of the object associated with the tokenContextTypeId property. |
storageLocationId | "storageLocationId": 26 Type: Number Unique identifier for the associated StorageLocation object. |
storageLocationName | "storageLocationName": "Sample Name" Type: String The name of the object associated with the storageLocationId property. |
documentIdentifier | "documentIdentifier": "Hello World" Type: String |
fileName | "fileName": "Hello World" Type: String |
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. |
updated READ-ONLY | "updated": "2021-04-26T15:25:27.587Z" Type: Date The date time stamp when this record was updated. Date and time values are specified in the ISO 8601 format. |
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 EmailTemplate object.
Standard PATCH objects:
DataFlow PATCH objects:
DELETE | EmailTemplate/{id} |
Delete an instance of the EmailTemplate 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 EmailTemplate object. |
Delete an instance of the EmailTemplate object. DELETE EmailTemplate/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "emailTemplate" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
GET | EmailTemplate/ |
Retrieve all of the EmailTemplate objects. | |
Retrieve all of the EmailTemplate objects. GET EmailTemplate/ HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "ownerId": 8, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 27, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 3, "localeName": "Sample Text Data", "eventRegistrationId": 26, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 5, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 17, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z" } ] } |
GET | EmailTemplate/Paged |
Retrieve all of the EmailTemplate objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints. | |
Retrieve all of the EmailTemplate objects in a paged fashion. GET EmailTemplate/Paged HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "pagination": { "pageNumber": 1, "pageSize": 20, "excludeTotalCount": false }, "pagedResults": { "totalCount": 1, "items": [ { "identity": 1, "ownerId": 17, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 0, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 13, "localeName": "Sample Text Data", "eventRegistrationId": 20, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 3, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 0, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z" } ] } } |
GET | EmailTemplate/{id} |
Retrieve an instance of the EmailTemplate object by its ID. | |
{id} | Unique identifier for the EmailTemplate object. |
Retrieve an instance of the EmailTemplate object by its ID. GET EmailTemplate/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "ownerId": 25, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 14, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 23, "localeName": "Sample Text Data", "eventRegistrationId": 21, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 5, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 16, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z" } } |
GET | EmailTemplate/{id}/Detail |
Retrieve deep detail of the EmailTemplate object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system. | |
{id} | Unique identifier for the EmailTemplate object. |
Retrieve deep detail of the EmailTemplate object by its ID. GET EmailTemplate/{id}/Detail HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "ownerId": 13, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 19, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 4, "localeName": "Sample Text Data", "eventRegistrationId": 17, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 14, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 0, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z", "details": { "emailTemplateCurrencyFormats": [ { "identity": 53, "emailTemplateId": 70, "emailTemplateName": "Sample Text Data", "currencyId": 14, "currencyName": "Sample Text Data", "localeId": 92, "localeName": "Sample Text Data", "currencyCode": "Sample Text Data" } ] } } } |
PATCH | EmailTemplate/Upload/{id} |
Update or Add the EmailTemplate 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 EmailTemplate object. |
Update or Add the EmailTemplate object and optionally make changes to any child objects. PATCH EmailTemplate/Upload/{id} { "details": {}, "emailTemplates": { "items": [ { "patchType": "create", "patchClientId": 1, "name": "Sample Text Data", "emailTemplateTypeId": 5, "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 7, "eventRegistrationId": 12, "tokenContextTypeId": 26, "storageLocationId": 8, "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z" } ] } } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "patch", "results": { "totalCount": 1, "items": [ { "identity": 1, "action": "created", "dtoTypeKey": "emailTemplate", "instance": { "identity": 1, "ownerId": 13, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 17, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 10, "localeName": "Sample Text Data", "eventRegistrationId": 16, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 11, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 13, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z" } } ] } } |
POST | EmailTemplate/Upload |
Create a new instance of the EmailTemplate object. | |
Create a new instance of the EmailTemplate object. POST EmailTemplate/Upload { "name": "Sample Text Data", "emailTemplateTypeId": 27, "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 2, "eventRegistrationId": 4, "tokenContextTypeId": 1, "storageLocationId": 1, "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z" } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "ownerId": 15, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 24, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 10, "localeName": "Sample Text Data", "eventRegistrationId": 0, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 4, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 19, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z" } ] } } |
PUT | EmailTemplate/Upload/{id} |
Update an existing instance of the EmailTemplate object. | |
Update an existing instance of the EmailTemplate object. PUT EmailTemplate/Upload/{id} { "identity": 1, "name": "Sample Text Data", "emailTemplateTypeId": 3, "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 17, "eventRegistrationId": 8, "tokenContextTypeId": 22, "storageLocationId": 26, "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "updated": "2021-04-26T15:25:27.587Z" } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "ownerId": 13, "ownerName": "Sample Text Data", "name": "Sample Text Data", "emailTemplateTypeId": 4, "emailTemplateTypeName": "Sample Text Data", "description": "Sample Text Data", "isActive": true, "subject": "Sample Text Data", "fromName": "Sample Text Data", "fromEmailAddress": "Sample Text Data", "localeId": 27, "localeName": "Sample Text Data", "eventRegistrationId": 3, "eventRegistrationName": "Sample Text Data", "tokenContextTypeId": 26, "tokenContextTypeName": "Sample Text Data", "storageLocationId": 26, "storageLocationName": "Sample Text Data", "documentIdentifier": "Sample Text Data", "fileName": "Sample Text Data", "created": "2021-04-26T15:25:27.587Z", "updated": "2021-04-26T15:25:27.587Z" } ] } } |