Field | Description |
free | Available |
busy | Busy |
arrange | Organizing information |
notReady | Not ready yet |
rest | Short break |
Parameter | Type | Required | Remarks | |
options | status | 'success' |'error' | Yes | SDK API call result: Successful: returns 'success' Failure: returns 'error' |
| errorMsg | string | No | Error information, returns when the status is error |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
| skillGroupId | String | No | Transferred skill group |
| userId | String | No | Transferred agent |
Parameter | Type | Required | Remarks | |
options | status | String | Yes | Agent status, valid values: free rest Arrange NotReady StopNotReady |
| restReason | String | No | Short break reason |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
| type | 'phone' | Yes | Conversation Type |
| timeout | Number | Yes | Session access timeout duration, 0 represents no timeout |
| nickname | String | Yes | User's nickname |
| avatar | String | No | User profile photo |
| remark | String | No | Remarks |
| peerSource | String | No | Channel Source |
| channelName | String | No | Custom Parameters |
| clientData | String | No | User-Defined Parameters |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
Parameter | Type | required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
| closeBy | String | Yes | Indication of end party: client: User end seat: Agent end admin: System end timer: Timer end |
| mainReason | String | No | This field only exists in phone calls and when the hang-up party is 'admin' indicating the reason for the hang-up. |
| subReason | String | No | This field only exists in phone calls and when the hang-up party is 'admin' indicating the detailed reason for the hang-up. |
Parameter | Type | Required | Remarks | |
options | sessionId | String | Yes | Conversation ID |
Parameter | Type | Required | Remarks | |
options | status | No |
Was this page helpful?