What's New
Cloud Contact Center Terminology Update
https://console.tim.qq.com/v4/desk_http_svc/get_session_state?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
v4/desk_http_svc/get_session_state | Request API. |
sdkappid | Assigned SDKAppID in the Chat console when creating an application. |
identifier | |
usersig | Generated signature of the App administrator account. For specific operations, see Generate UserSig. |
random | Enter a random 32-bit unsigned integer. The value ranges from 0 to 4294967295. |
contenttype | The request format has a fixed value of json. |
{"SessionId": "b0f4ca12-4850-4218-a284-efe679a87066"}
{"ClientUserId":"user1","CustomerServiceId":"@customer_service_account"}
Field | Type | Required | Description |
SessionId | String | Optional. | Specify the conversation ID to be queried. |
ClientUserId | String | Optional. | User ID of the user. |
CustomerServiceId | String | Optional. | UserID of the customer service account. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"SessionId": "a-b-c-d-e","CurrentState": "Agent","AgentId": "test@qq.com"}
Field | Type | Description |
ErrorCode | Integer | Error Code: 0 indicates success. Non-zero indicates failure. |
ErrorInfo | String | Error message. |
ActionStatus | String | Result of request processing. |
SessionId | String | Session ID. |
CurrentState | String | Current status of the session, valid values may include: Not in session Chatbot: Chatbot reception in progress. WaitingForAgentAnswering: Wait for customer service confirmation and reception. Queuing: Being queued for manual service. Agent: Manual service in progress. |
AgentId | String | When the status is WaitingForAgentAnswering or Agent, this field represents the account of the human customer service for reception. This field is empty in other statuses. |
Error Code | Description |
141002 | Internal error, retry. |
141004 | Invalid parameter. |
141005 | Session does not exist or has ended. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan