Conversation Resource always returns <conversation> representation that contains one <activity> representation.
Name | Description | Schema/type |
---|---|---|
id | ID of the conversation. | String |
activity | Activity associated with conversation. | Activity Schema |
Name | Description | Schema/type |
---|---|---|
id | ID of the activity. | Long |
created | Activity creation details (user and date) | v19-schema-common-Created |
subject | Activity subject | String |
customer | The customer associated with this activity | Customer Schema |
payload | This has information about the payload of the activity. This contains the channel specific information for this activity. Possible payloads is chat. This will have only one of hte payloads. | Payload Schema |
Name | Description | Schema/type |
---|---|---|
entryPoint | Information about the entry point used in chat. | Entry Point Schema |
clientInfo | Information about the customer machine used in chat. | ClientInfo Schema |
messages | Messages sent by advisor and customer. It contains one or more <message> representation. | Messages Schema |
Name | Description | Schema/type |
---|---|---|
referrerUrl | This has the URL of the referrer. | String |
isRichTextSupported | This indicates whether client supports rich text. | Boolean |
timeOffset | Time off | String |
Name | Description | Schema/type |
---|---|---|
id | ID of the message. | Long |
type.value | Type of message. Possible values are below:
| String |
content | Content of the message. | String |
sender.type | Type of the sender of the message. Possible values are as below:
| String |
sender.user | Details of user who sent the message. This is applicable only if sender.type is 'user'. This attribute will be sent only if sender.type is 'user'. | String |
sender.customer | Details of customer who sent the message. This is applicable only if sender.type is 'customer'. This attribute will be sent only if sender.type is 'customer'. | String |
timeStamp | Time when message was sent by agent. | Created Schema |
attachments | Details of attachments uploaded / accepted / rejected by advisor or end user. It contains one or more <attachment> representation. | Attachments Schema |
Name | Description | Schema/type |
---|---|---|
id | ID of the attachment. | String |
fileName | File name of the attachment. | String |
size | Attachment size in bytes. | Long |
contentType | Mime-type of the attachment. | String |
contentUrl | Url of the content. | String |
Message type | Attribute name | Description | Always provided |
---|---|---|---|
text | content | Content of the message | Yes |
attachments | Attachments associated with text message. This attribute will be sent only when text message contains attachments. e.g KB article with attachments. Please refer "Attachment specific attributes" section for attachment details. Below are the supported attributes. All of them will be sent for each attachment:
| No | |
enableOffRecordMessages | content | System message text information about the enable off record message by the end user. | Yes |
disableOffRecordMessages | content | System message text information about the disable off record message by the end user. | Yes |
assigned | user.name | Name of the agent to whom the activity is assigned. | Yes |
user.screenName | Screen name of the agent to whom the activity is assigned. | Yes | |
content | System message text information about the activity assignment to the advisor. | Yes | |
pagePush | url | URL to a page which agent wants to share with customer. | Yes |
content | System message text information about the page push by the advisor. | Yes | |
transfer | transfer.type | Type of transfer. Allowed values are as below:
| Yes |
transfer.user | The advisor to whom activity is transferred. The below attribute will be sent:
| Yes, only if transfer.type is 'user' | |
transfer.queue | The queue to whom activity is transferred. The below attributes will be sent:
| Yes, only if transfer.type is 'queue' | |
content | System message text information about the activity transfer. | Yes | |
uploadAttachment | attachments | Attachment uploaded by an advisor or end user.Please refer "Attachment attributes" section for attachment details.Below are the supported attributes. All of them will be sent:
| Yes |
content | System message text information about upload attachment. | Yes | |
acceptAttachment | attachments | Attachment accepted by an advisor or end user. Please refer "Attachment attributes" section for attachment details. Below are the supported attributes. All of them will be sent:
| Yes |
content | System message text information about accept attachment. | Yes | |
rejectAttachment | content | System message text information about reject attachment. | Yes |
complete | content | System message text information that the chat activity has been completed. | Yes |