Available from CRM.COM R9.0.0
This method returns the communication templates that are allowed to be used in communications. Multiple communication templates are returned by each call. Note that only effective communication templates are retrieve by this method.
Resource URL
Parameters
Name | Type | Description | ||||||||||||
token | String | The token retrieved from the login method | ||||||||||||
group_identifier (optional) | Group Identifier | The identifier of the group that will be creating the communication. The group is filtered against the templates' allowed organisational units. The allowed group identifier fields are the following:
| ||||||||||||
unit_identifier (optional) | Unit Identifier | The identifier of the unit that will be creating the communication. The unit is filtered against the templates' allowed organisational units. The allowed unit identifier fields are the following:
| ||||||||||||
direction (optional) | String | The direction of the communication templates that will be retrieved, which can be INCOMING or OUTGOING | ||||||||||||
media (optional) | String | The media of the communication templates that will be retrieved, which can be EMAIL, SMS, PHONE, LETTER, F2F | ||||||||||||
category_identifier (optional) | Category Identifier | The category of the communication template that will be retrieved. The allowed communication category identifiers are the following:
| ||||||||||||
communication_queue_external_system_identifier | Communication Queue External System Identifier | The communication queue external system of the communication template that will be retrieved. The allowed communication queue external system identifiers are the following:
| ||||||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the communication template |
name | String | The name of the communication template |
alternative_code | String | The alternative code of the communication template |
description | String | A description of the communication template |
life_cycle_state | String | The life cycle state of the communication template, which can be EFFECTIVE or NOT_EFFECTIVE |
direction | String | The direction of the communication template, which can be INCOMING or OUTGOING |
media | String | The media of the communication template, which can be EMAIL, SMS, PHONE, LETTER, F2F |
subject | String | The subject of the communication template |
content | String | The content of the communication template |
category | Communication Category Object | The category of the communication template |
communication_queue_external_system | Communication Queue External System | The communication queue external system of the communication template |
log_information | Log Information Object | The log information of the communication queue external system |
Referred Objects Response Data