Available from CRM.COM R4.0.0
This method returns information related with the latest pending communication queue entries. Multiple communication queue entries are returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||||||||
communication_queue_external_system_identifier (semi-optional) | Communication queue external system Identifier | The identifier of the communication queue external system. The allowed communication queue external system identifier fields are the following:
| |||||||||||||||||||||
media (semi-optional) | String | The media that was used to send or receive the communication, which can be EMAIL, SMS, PHONE, LETTER, FACE_TO_FACE | |||||||||||||||||||||
contact_information_identifier (optional) | Contact Information Identifier | The identifier of the contact information that will receive the communication kept in the communication queue. The allowed contact information identifier fields are the following:
Available from CRM.COM R5.0.0 | |||||||||||||||||||||
number (mandatory) | Number | The number of communications to be retrieved from the queue, starting from the latest one | |||||||||||||||||||||
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 |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved communication queue entry |
number | String | The number of the retrieved communication queue entry |
life_cycle_state | String | The lifecycle state of the retrieved communication queue entry which can be PENDING, REJECTED, COMPLETED or COMPLETED_AND_REMOVED. Life Cycle State COMPLETED_AND_REMOVED is available from CRM.COM R10.1.0 |
error_code | String | The code of a possible error that occur while processing the communication queue entry |
error_description | String | The description of a possible error that might occur while processing the communication queue entry |
communication | Communication object | The communication that is sent through the retrieved communication queue entry |
communication_queue_external_system | Communication Queue External System object | The external system which process the communication waiting in retrieved communication queue entry |
Log Information Object | The log information related with the retrieved communication queue entry |
Referred Objects Response Data