The ReleaseChat operation ends the current chat.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
Instance ID. |
ccc-test |
| JobId |
string |
Yes |
Job ID. |
chat-6538214103685**** |
| UserType |
string |
Yes |
User type.
|
CUSTOMER |
| UserId |
string |
No |
User ID. Visitor ID or agent ID. |
edbcf95a-ef9f-4296-a0a6-985ac9e36db3 |
| Token |
string |
No |
Channel token for network services. |
9XYGTGWtq2wFi_Bpg7aUnIoYi_vG_rO3bjEn0YtsxbHRHrYHlz1LDBLJAyZcLxieRQR4h_6AnWvTjJeNU5jg************Hwej7WgWrmA= |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Response code. |
OK |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Message |
string |
Response message. |
无 |
| RequestId |
string |
Request ID. |
B06B3244-1B44-481B-90C4-F2F92E59D6B5 |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "B06B3244-1B44-481B-90C4-F2F92E59D6B5"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Blank | The parameter %s must not be null. | |
| 400 | Parameter.Empty | The parameter %s must not be null or empty. | |
| 400 | Parameter.Format | The format of parameter %s is invalid. | |
| 400 | Parameter.Null | The parameter %s must not be null. | |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | |
| 409 | AlreadyExists.SkillGroup | The skill group %s already exists in instance %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.