logo

Official API Documentation

Public Information

General Specifications

Request Format

Base URL https://{host}/{Type}/{version}/{api}?Timestamp={Timestamp}&AppId={AppId}

  • host: API domain name
  • Type: ccapi
  • version: API version, currently v2
  • api: See API URI
  • Timestamp: UTC timestamp, accurate to the millisecond
  • AppId: Used to specify which APP to operate on, UUID string, should be included except for creating an APP HTTP Header
  • Accept: "application/json"
  • Content-Type: "application/json;charset=utf-8" HTTP METHOD
  • GET (SELECT): Retrieve resources (one or more) from the server.
  • POST (CREATE): Create a new resource on the server.
  • PUT (UPDATE): Update a resource on the server (the client provides the complete resource after the change).
  • PATCH (UPDATE): Update a resource on the server (the client provides the attributes that have changed).
  • DELETE (DELETE): Delete a resource from the server. HTTP Status Code
  • 200 OK - [GET]: The server successfully returned the data requested by the user, and the operation is idempotent (Idempotent).
  • 201 CREATED - [POST/PUT/PATCH]: The user successfully created or modified data.
  • 202 Accepted - [*]: Indicates that a request has entered the background queue (asynchronous task)
  • 204 NO CONTENT - [DELETE]: The user successfully deleted data.
  • 400 INVALID REQUEST - [POST/PUT/PATCH]: The request made by the user has errors, and the server did not perform any new creation or modification operations, and the operation is idempotent.
  • 401 Unauthorized - [*]: Indicates that the user does not have permission (token, username, password error).
  • 403 Forbidden - [*] Indicates that the user is authorized (opposite to 401 error), but access is forbidden.
  • 404 NOT FOUND - [*]: The request made by the user is for a non-existent record, and the server did not perform any operations, and the operation is idempotent.
  • 406 Not Acceptable - [GET]: The format requested by the user is not available (for example, the user requests JSON format, but only XML format is available).
  • 410 Gone -[GET]: The resource requested by the user has been permanently deleted and will not be obtained again.
  • 422 Unprocessable Entity - [POST/PUT/PATCH] When creating an object, a validation error occurs.
  • 500 INTERNAL SERVER ERROR - [*]: An error occurred on the server, and the user will not be able to determine if the request was successful.

Return Format

General

  • Returns in UTF-8 encoded JSON format
  • Response codes see Response Codes Correct Return Format
{
    "ErrCode": "000000", // Response code (required)
    "ErrDesc": "OK",   // Response description (required)
    "Result": {
    // Data...
}
}

Error Return Format

{
    "ErrCode": "000001",     // Response code (required)
    "ErrDesc": "Parameter error", // Response description (required)
    "Result": {
    // Data...
}
}

Data Format Conventions

PSTN Numbers

  • Landline format: 0{area code}{local number}
  • Mobile format: {11-digit mobile number}
  • International number: 00{international area code}{domestic area code}{local number}
  • Agent SIP number: {corporate number prefix}{agent extension number}
  • Corporate number prefix: 9{9-digit number}
  • Agent extension number: {4-digit number} Example
"01067654637" # Landline number
"13676546374" # Mobile number

Extension Numbers (Extension)

  • Four-digit number starting with a non-zero digit: [1-9]\\d{3} Example
"8001"      # Extension number

QueueId

  • A 4-digit number starting with 9: 9\d{3} AgentId
  • Digits: \d+
  • Maximum length: 32 characters WorkId
  • Digits or characters: \w+
  • Maximum length: 32 characters Timestamp
  • Uses UTC time
  • Format: Unix Time, which is the number of milliseconds since "1970-01-01 00:00:00.000".

Authentication Method

Server-side Interface Authentication

  • All interfaces use HTTPS encryption
  • Sign: SHA1(Sid + AuthToken + Timestamp)
  • Sid: Account
  • AuthToken: Authentication token
  • Timestamp: Time stamp, valid within 10 minutes
  • Parameters (URL Query String)
  • Timestamp
  • Sid
  • Sign Example
https://xxx.udesk.cn/ccapi/v2/agents?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Return Code Description

Return CodeDescription
000000Success
000001Invalid parameter
000035Request timeout
000036Incorrect request
000060Internal error
100001Parameter is empty
100002App is invalid or forbidden
100003Account not found
100004Incorrect message
100005Relay number not found
100006Name already exists
100007Voice not found
100008Invalid wav file
100009Wav file conversion failed
100010Failed to create default voice file
100011Failed to create new bucket
100012Failed to download file
100013Database initialization failed
100014Md5 check failed
100015Number exists
100016Voice binding agent
100017App ID is empty
100018No records found
100019Parsing failed
100020Ivr not found
100021Invalid agent status
100022Ownership error
200001This app does not exist
200002Parameter error
200003Service resolution error
200004No related records found
200005Start node error
200006Condition node error
200007Play node error
200008Voice collection node error
200009Queue node error
200010Webhook node error
200011Number collection node error
200018Hangup node error
200019This name already exists
200020Authentication error
200021Internal service error
200022Routing format error
200023Database error
200024Missing start or end node

Open API

01. Get Relay Number List

Basic Information

Path: /ccapi/v2/spnumbers Method: GET Interface Description:

Overview

Returns a list of all relay numbers bound within the application, as well as the application's default caller ID number.

Glossary

Relay Number: A general term for numbers bound to application numbers (usually divided into digital relay numbers and analog fixed phone numbers, the main difference being that the former supports multi-concurrent calls), which may be provided by Udesk or built by users themselves.
Caller ID: When you make a call from your personal phone to someone else's phone, the caller ID number displayed on the recipient's phone (if they have caller ID display service), this is the caller ID; similarly, when making outgoing calls using the Udesk CCPaaS platform, a caller ID is also needed, and the number will be selected in the following order:

  1. Preferably use the relay number specified for outgoing calls;
  2. Use the default caller ID of the agent;
  3. Use the default caller ID of the application;
  4. If none of the above are met, the system selects a number randomly.

Example

Request

URL: http://ip:port/ccapi/v2/spnumbers?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Response

{
      "ErrCode": "000000",
      "ErrDesc": "OK",
      "Result": {
        "SpNumbers": [
          "057126200671",
          "057126200672",
          "057126200673",
          "057126200674"
        ],
        "DefSpNumber": "057126200670"
      }
}

Request Parameters

Query

Parameter NameRequiredExampleNotes
AppIdYes3c31d817-4d37-46d8-6c09-1be54dda3c03Application ID

Return Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultobjectNot RequiredResponse Result
├─ SpNumbersstring []Not RequiredRelay Number Listitem Type: string
├─Not Required
├─ DefSpNumberstringNot RequiredCurrent Default Relay Numbermock: 057126200670

02. Modify Default Relay Number

Basic Information

Path: /ccapi/v2/spnumbers/default Method: PUT Interface Description:

Overview

Edit the default caller ID number for the application.

Example

Request

URL: http://ip:port/ccapi/v2/spnumbers/default?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "DefSpNumber":"057126200670"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefaultNotesOther Information
DefSpNumberstringNot RequiredThe default relay number is the first one in the list, but it can be any number from the relay number listmock: 057126200670

Return Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Result

03. Delete Default Relay Number

Basic Information

Path: /ccapi/v2/spnumbers/default Method: DELETE Interface Description:

Overview

Clear the default caller ID number for the application.

Example

Request

URL: http://ip:port/ccapi/v2/spnumbers/default?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Response

{
    "ErrCode":"000000",
    "ErrDesc":"OK",
    "Result":""
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefaultNotesOther Information

Return Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

04. Create Agent

Basic Information

Path: /ccapi/v2/agents Method: POST Interface Description:

Overview

Create an agent.
The basic object relationship in Udesk CC-PaaS is shown in the following diagram: img.png

  • An application can create multiple agents, queues, and extensions;
  • An agent must be in at least one queue;
  • An agent can only be bound to one extension of the same type (SIP or WebRTC);
  • An agent can only make or receive calls after binding an extension;
  • If the application has enabled web phone functionality (WebRTC), and the 'IsCreateExtension' parameter is set to 'true', then when creating an agent, both types of extensions (WebRTC and SIP) will be created simultaneously and bound to that agent.

Example

Request

URL: http://ip:port/ccapi/v2/agents?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "AgentId": "9415",
        "WorkId": "199"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": {
        "AgentId": "9415",
        "Extension": "",
        "Password": "",
        "Number": "",
        "ExtenInfos": null
    }
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefaultNotesOther Information
AgentIdstringRequiredAgent IDmock: 197
WorkIdstringRequiredAgent Work IDmock: 191
NamestringOptionalAgent Namemock: Li
MobilestringOptionalAgent Mobilemock: 18512520714
EmailstringOptionalAgent Emailmock: 123@qq.com
RolestringOptionalAgent Role, can be agent, leader, default is agentmock: agent
EnablebooleanOptionaltrue: Enable, default is enabledmock: false
IsCreateExtensionintegerOptionalCreate and bind extension for the agent
WrapUpTimeintegerOptionalIncoming call wrap-up time
OutWrapUpTimeintegerOptionalOutgoing call wrap-up time
AssistantAccessRightintegerOptionalAssistant access rights

Response Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringOptionalResponse Codemock: 000000
ErrDescstringOptionalResponse Descriptionmock: OK
ResultobjectOptionalIf extension is bound simultaneously
├─ ExtensionstringOptionalExtension Numbermock: 1002
├─ PasswordstringOptionalExtension Passwordmock: 1002
├─ AgentIdstringOptionalAgent IDmock: 197
├─ NumberstringOptionalTrunk Numbermock: 057126200670
├─ ExtenInfosstring[]OptionalExtension Number Listitem Type: string
├─Optional

05. Modify Agent

Basic Information

Path: /ccapi/v2/agents/{id}
Method: PUT
Interface Description:

Overview

Modify agent information
Disable agent: The agent can only be disabled when it is offline. Note: AgentId cannot be modified.

Example

Request

URL: http://ip:port/ccapi/v2/agents/{id:[0-9]+}?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "AgentId":"9415",
        "Enable":false
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Path Parameters

Parameter NameExampleNotes
id{id:[0-9]+}

Query

Parameter NameRequiredExampleNotes
AppIdYesa54a8b77-f12d-4ac9-742d-5b2bef5c4d11

Body

NameTypeRequiredDefaultNotesOther Information
AgentIdstringOptionalSeat IDmock: 724
WorkIdstringOptionalTask IDmock: 11
NamestringOptionalSeat Name
MobilestringOptionalSeat Mobilemock: 17600364320
EmailstringOptionalSeat Email
RolestringOptionalRemarks
EnablebooleanOptionalWhether to enablemock: false
WrapUpTimeintegerOptionalIncoming wrap-up time
OutWrapUpTimeintegerOptionalOutgoing wrap-up time
AssistantAccessRightintegerOptionalAssistant usage rights

Response Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringOptionalResponse Codemock: 000000
ErrDescstringOptionalResponse Descriptionmock: ok
ResultstringOptionalResponse Result

06. Get Seat List

Basic Information

Path: /ccapi/v2/agents
Method: GET
Interface Description:

Overview

Obtain seat information, which can be queried according to relevant conditions. If no conditions are specified, the entire seat list will be returned.
Fixed query conditions include: role, availability status, seat status;
Fuzzy query text matching range: seat name, seat number, email, mobile phone number.

Example

Request

URL: http://ip:port/ccapi/v2/agents?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
URL(Predefined Query Conditions): http://ip:port/ccapi/v2/agents?Role={{Role}}&Enable={{Enable}}&State={{State}}&FuzzyQuery={{FuzzyQuery}}AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Response

{
    "ErrCode": "000000",
    "ErrDesc": "",
    "Result": {
        "CurrPage": 1,
        "PageSize": 32,
        "Total": 32,
        "TotalPage": 1,
        "AgentList": [
            {
                "AppId": "4b8dc715-05e0-4340-6cae-a6e3c39a6012",
                "AgentId": "189",
                "WorkId": "",
                "Name": "Admin 1",
                "Mobile": "17600364320",
                "Email": "crmdiaoxiao1@test.cn",
                "Role": "agent",
                "Queues": [
                    "9003@4b8dc715-05e0-4340-6cae-a6e3c39a6012"
                ],
                "QueuesNames": null,
                "Extensions": [
                    "1001",
                    "1008"
                ],
                "DefSpNumber": "02863138587",
                "State": 1,
                "ExtState": 0,
                "WrapUpTime": 0,
                "OutWrapUpTime": 0,
                "Enable": true,
                "ExtenInfos": null
            }
        ]
    }
}

Request Parameters

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Tenant ID

Response Data

NameTypeRequiredDefaultRemarksOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultobjectNot RequiredResponse Result
├─ CurrPagenumberNot RequiredCurrent Pagemock: 1
├─ PageSizenumberNot RequiredItems per Pagemock: 10
├─ TotalnumberNot RequiredTotal Itemsmock: 100
├─ TotalPagenumberNot RequiredTotal Pagesmock: 10
├─ AgentListobject[]Not RequiredAgent Listitem type: object
├─ AppIdstringNot RequiredApplication IDmock: 4b8dc715-05e0-4340-6cae-a6e3c39a6012
├─ AgentIdstringNot RequiredAgent IDmock: 112
├─ WorkIdstringNot RequiredWork IDmock: 111
├─ NamestringNot RequiredAgent Namemock: test
├─ MobilestringNot RequiredAgent Mobile Numbermock: 17600364320
├─ EmailstringNot RequiredAgent Emailmock: test@qq.com
├─ RolestringNot RequiredRemarksmock: ""
├─ Queuesstring[]Not RequiredAgent Queue Listitem type: string
├─ QueuesNamesstring[]Not RequiredQueue Name Listitem type: string
├─ Extensionsstring[]Not RequiredExtension Number Listitem type: string
├─ DefSpNumberstringNot RequiredDefault Trunk Numbermock: c39a6012
├─ StatenumberNot RequiredStatusmock: 1
├─ ExtStatestringNot RequiredDefault Extension Statusmock: 0
├─ WrapUpTimestringNot RequiredIncoming Call Wrap-Up Timemock: 0
├─ OutWrapUpTimestringNot RequiredOutgoing Call Wrap-Up Timemock: 0
├─ EnablestringNot RequiredIs Enabledmock: false
├─ ExtenInfosobject[]OptionalExtension Number Informationitem type: object
├─ NumberstringOptionalTrunk Numbermock: 94286518751002
├─ ExtensionstringOptionalExtension Numbermock: 1002
├─ PasswordstringOptionalExtension Passwordmock: eewz
├─ SignalTypestringOptionalSignal Typemock: 1

07. Seat Extension Binding

Basic Information

Path: /ccapi/v2/agents/extensions
Method: POST
Interface Description:

Overview

Binds extensions to the specified agent, allowing the binding of two types of extensions simultaneously.
Note:
The agent needs to manually switch to the extension type that matches the current outgoing call method. For example, if using web phone for outgoing calls, switch to the webrtc type extension.

Example

Request

URL: http://ip:port/ccapi/v2/agents/extensions?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "AgentId":"9415",
        "Extensions":["1135"]
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
AgentIdstringRequiredAgent IDmock: 10031
WorkIdstringNot RequiredTask ID
NamestringNot RequiredAgent Name
MobilestringNot RequiredAgent Mobile Number
EmailstringNot RequiredAgent Email
RolestringNot RequiredRemarks
Queuesstring[]Not RequiredQueuesitem type: string
├─Not Required
QueuesNamesstring[]Not RequiredQueue Namesitem type: string
├─Not Required
Extensionsstring[]RequiredList of Extension Numbersitem type: string
├─Not Required
StateintegerNot RequiredAgent State Type
ExtStateintegerNot RequiredBound Extension State
WrapUpTimeintegerNot RequiredInbound Wrap-Up Time
OutWrapUpTimeintegerNot RequiredOutbound Wrap-Up Time
EnablebooleanNot RequiredWhether to Enable
AssistantAccessRightintegerNot RequiredAssistant Access Rights

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

08. Unbinding Extensions for Agents

Basic Information

Path: /ccapi/v2/agents/extensions
Method: DELETE
Interface Description:

Overview

This interface is used to unbind extensions for a specified agent, allowing the simultaneous unbinding of two types of extensions.
Note:
If you intend to delete an agent, you must first unbind all extensions associated with that agent and remove the agent from all regular queues.

Example

Request

URL: http://ip:port/ccapi/v2/agents/extensions?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "AgentId":"9415",
        "Extensions":["1135"]
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueNotesOther Information
Extensionsstring[]RequiredList of extension numbersitem type: string
├─Not Required
AgentIdstringRequiredAgent IDmock: 62

Return Data

NameTypeRequiredDefault ValueNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

09. Delete Extension

Basic Information

Path: /ccapi/v2/extensions
Method: DELETE
Interface Description:

Overview

Delete an extension.
Note:
An extension bound to an agent cannot be deleted; it must be unbound first.

Example

Request

URL: http://ip:port/ccapi/v2/extensions?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "Extension":"1002"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefaultNotesOther Information
ExtensionstringRequiredExtension numbermock: 1002
PasswordstringNot RequiredExtension password
NumberstringNot RequiredSIP account used by the agent
SignalTypeintegerNot RequiredExtension typemock: 0:sip,1:webrtc

Return Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringNot RequiredResponse codemock: 000000
ErrDescstringNot RequiredResponse descriptionmock: OK
ResultstringNot RequiredResponse resultmock:

10. Create Extension

Basic Information

Path: /ccapi/v2/extensions
Method: POST
Interface Description:

Overview

Create an extension.
There are two types of extensions: 0 (SIP, corresponding to the SIP phone method), 1 (WebRTC, corresponding to the web phone method);
Note:

  • The extension password is generated by the system and cannot be specified at creation;
  • Extension Number: A string of four characters (0~9, and the first character must be 1);
  • A ten-digit fixed prefix plus the extension number makes up the extension account, totaling 14 digits.

Example

Request

URL: http://ip:port/ccapi/v2/extensions?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "Extension":"1002",
        "Password":"802411d4",
        "SignalType":0
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": {
    "Extension": "1002",
    "Password": "336cd1655a1d0502",
    "Number": "93000077121002",
    "SignalType": 0
}
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
ExtensionstringRequired4-digit extension numbermock: 1032
PasswordstringNot RequiredExtension passwordmock: 802411d4
SignalTypeintegerNot RequiredExtension type: 0 (SIP), 1 (WebRTC)mock: 0

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse codemock: 000000
ErrDescstringNot RequiredResponse descriptionmock: OK
ResultobjectNot RequiredResponse result
├─ ExtensionstringNot RequiredExtension numbermock: 1002
├─ PasswordstringNot RequiredExtension passwordmock: 802411d4
├─ NumberstringNot RequiredExtension accountmock: "93000077121002"
├─ SignalTypeintegerNot RequiredExtension typemock: 0 (SIP, corresponding to the SIP phone method), 1 (WebRTC, corresponding to the web phone method)

11. Get Queue List

Basic Information

Path: /ccapi/v2/queues
Method: GET
Interface Description:

Overview

Obtain a list of queue information.

Example

Request

URL: http://ip:port/ccapi/v2/queues?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Response

{
    "ErrCode":"000000",
    "ErrDesc":"OK",
    "Result":{
    "Queues":[
{
    "QueueId":"9001",
    "Name":"Admin test ",
    "Strategy":0,
    "Timeout":0,
    "WaitMusic":"waitmusic.wav"
}
    ]
}
}

Request Parameters

Query

Parameter NameRequiredExampleNotes
AppIdYesef05710f-1144-4e2a-721c-991bf9df440aApplication ID

Response Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultobjectNot RequiredResponse Result
├─ Queuesobject[]Not RequiredQueue Listitem type: object
├─ QueueIdstringNot RequiredQueue IDmock: 9001
├─ NamestringNot RequiredQueue Namemock: Admin test
├─ StrategynumberNot RequiredQueue Distribution Strategymock: 0
├─ TimeoutnumberNot RequiredQueuing Wait Timeoutmock: 0
├─ WaitMusicstringNot RequiredMusic Played During Queuing Waitmock: waitmusic.wav

12. Creating a Queue

Basic Information

Path: /ccapi/v2/queues
Method: POST
Interface Description:

Overview

Create a queue

Example

Request

URL: http://ip:port/ccapi/v2/queues?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "QueueId":"9008",
        "QueueName":"Test Create Queue 007",
        "WaitMusic":""
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": {
    "QueueId": "181154"
}
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
QueueIdstringNot RequiredQueue IDmock: 9008
QueueNamestringNot RequiredQueue Namemock: Test Create Queue 007
WaitMusicstringNot RequiredMusic to play while waiting in queuemock:

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

13. Modify Queue

Basic Information

Path: /ccapi/v2/queues
Method: PUT
Interface Description:

Overview

Modify the specified queue.
'Strategy' specifies the distribution strategy of the queue, with optional values of integers 0, 1, 2:
0: Allocate in rotation according to the order of agents' login for the day;
1: Allocate according to the minimum number of calls answered by the agent for the day, i.e., the higher the priority, the fewer calls answered;
2: Allocate according to the last idle time of the agent, i.e., the longer the idle time, the higher the priority;

Example

Request

URL: http://ip:port/ccapi/v2/queues?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "QueueId":"9009"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
QueueIdstringRequiredQueue IDmock: 9009
QueueNamestringNot RequiredQueue Namemock: test create Queue007
StrategyintegerNot RequiredQueue distribution strategy
TimeoutintegerNot RequiredQueuing wait timeout
WaitMusicstringNot RequiredMusic played while queuing

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

14. Delete Queue

Basic Information

Path: /ccapi/v2/queues
Method: DELETE
Interface Description:

Overview

Deletes the specified queue.
Note:
Queues with agents in them cannot be deleted.

Example

Request

URL: http://ip:port/ccapi/v2/queues?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "QueueId":"9009"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
QueueIdstringRequiredQueue IDmock: 9009

Response Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

15. Batch Add Agents to Queue

Basic Information

Path: /ccapi/v2/queues/agents
Method: POST
Interface Description:

Overview

This interface allows for the batch addition of agents to a specified queue.
Note:
This is an incremental operation and will not affect the agents already in the queue.

Example

Request

URL: http://ip:port/ccapi/v2/queues/agents?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "QueueId":"9009",
        "AgentIds":[
        "9009",
        "9008",
        "9007",
        "9006"
        ]
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueNotesOther Information
QueueIdstringRequiredQueue IDmock: 9009
AgentIdsstring[]RequiredList of Agent IDsitem type: string
├─Not Required

Response Data

NameTypeRequiredDefault ValueNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

16. Batch Agent Queue Enrollment

Basic Information

Path: /ccapi/v2/agents/queues
Method: POST
Interface Description:

Overview

This interface is used to batch-enroll specified agents into queues.
Note:
The parameter 'IsFull' is set to 0 by default, and the interface performs an incremental operation, which does not affect the agent's original queue list;
When the parameter 'IsFull' is set to 1, the interface performs a full operation, which can be used for queue information synchronization with third-party systems.

Example

Request

URL: http://ip:port/ccapi/v2/agents/queues?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "AgentId":"9415",
        "Queues":[
        "551",
        "114"
        ],
        "IsFull":1
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueMandatoryExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameMandatoryExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeMandatoryDefault ValueRemarksOther Information
AgentIdstringRequiredAgent IDmock: 1443
Queuesstring[]RequiredQueue ID Listitem type: string
├─Not Required
IsFullintegerNot RequiredWhether to fully update

Response Data

NameTypeMandatoryDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

17. Batch Agent Dequeue

Basic Information

Path: /ccapi/v2/agents/queues
Method: DELETE
Interface Description:

Overview

This interface allows for the batch removal of agents from specified queues.

Example

Request

URL: http://ip:port/ccapi/v2/agents/queues?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "AgentId":"9415",
        "Queues":[
        "551",
        "114"
        ]
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Body

NameTypeRequiredDefault ValueNotesOther Information
AgentIdstringRequiredAgent IDmock: 1443
Queuesstring[]RequiredQueue IDsitem type: string

Response Data

NameTypeRequiredDefault ValueNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock: null

18. Subscription to Events

Basic Information

Path: /ccapi/v2/subscriptions
Method: POST
Interface Description:

Overview

Subscribe to events, and when the subscribed events occur, relevant messages will be sent to the specified callback address.
The callback address is set through the background.
Details of the Events parameter are as follows:

categoryall_typeremarks
agent_stateacd_agent_stateAgent state event
ext_stateextension_state_updateExtension state event
agent_call_modeagent_call_mode_changeAgent's extension mode switch event
callgeneral_hangupHangup message
enqueue_succSuccessful queue entry
record_stopRecording end
hangup_causeHangup cause event
dequeue_succDequeue message
start_dialoutStart dialing out
voice_mail_succSuccessful voicemail
play_succSuccessful playback
dtmf_gather_succKeypad input
asr_gather_succSuccessful voice recognition
consult_succSuccessful consultation
end_consult_succSuccessful consultation cancellation
three_way_succSuccessful three-way call
substitute_succSuccessful interception
hold_agent_succSuccessful hold
extern_succSuccessful transfer to external line
eavesdrop_succSuccessful eavesdropping

Example

Request

URL: http://ip:port/ccapi/v2/subscriptions?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "subscriptions":[
    {
        "callback":"http://s-km5.udesk.cn/as/api/v1/dialog/6/c6d4c463-5c60-43ba-a522-c972dd60e058",
        "events":["begin","end"],
        "name":"lymtest"
    }
        ]
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": {
    "sub_succ": [
{
    "subid": 168,
    "name": "test"
}
    ],
    "sub_fail": null
}
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID
TimestampYes1566523582Timestamp

Body

NameTypeRequiredDefault ValueRemarksOther Information
subscriptionsobjectRequired
├─ callbackstringRequiredCallback addressmock: "http://ip:port"
├─ eventsstring[]RequiredList of event names (see remarks)item type: string
├─Not Required
├─ namestringRequiredSubscription name

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse codemock: 000000
ErrDescstringNot RequiredResponse descriptionmock: OK
ResultobjectNot RequiredResponse result
├─ sub_succobjectNot RequiredSubscription result Success
├─ subidintegerNot Requiredid
├─ namestringNot RequiredSubscription name
├─ sub_failstring[]Not RequiredSubscription result Failureitem type: string
├─Not Required""

19. Update Event Subscription

Basic Information

Path: /ccapi/v2/subscriptions/{id}
Method: PUT
Interface Description:

Overview

Update the subscribed events.

Example

Request

URL: http://ip:port/ccapi/v2/subscriptions/{id:[0-9]+}?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "callback":"https://qa.udesk.cn/api/v2/middleware/",
        "name":"ymtest111",
        "events":["acd_agent_state"],
        "enable":false
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "Result": {
    "ymtest111": 164
}
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Path Parameters

Parameter NameExampleRemarks
id73{id:[0-9]+}

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID
TimestampYes1566523582Timestamp

Body

NameTypeRequiredDefaultRemarksOther Information
callbackstringRequiredCallback URL
namestringRequiredSubscription Name
eventsstring[]RequiredEvent ListItem Type: string
├─Not Required
enablebooleanRequiredSubscription Flag true: enable; false: disable.

Return Data

NameTypeRequiredDefaultRemarksOther Information
ErrCodestringNot RequiredResponse Code
ErrDescstringNot RequiredResponse Description
ResultobjectNot RequiredResponse Result
├─ ymtest111numberNot RequiredSubscription Name & Event ID

20. Delete Event

Basic Information

Path: /ccapi/v2/subscriptions/{id}
Method: DELETE
Interface Description:

Overview

Unsubscribe from an already subscribed event.

Example

Request

URL: http://ip:port/ccapi/v2/subscriptions/{id:[0-9]+}?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Response

{
    "ErrCode":"000000",
    "ErrDesc":"OK",
    "Result":[]
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleNotes
Content-Typeapplication/x-www-form-urlencodedYes

Path Parameters

Parameter NameExampleNotes
id73{id:[0-9]+}

Query

Parameter NameRequiredExampleNotes
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID
TimestampYes1566523582Timestamp

Body

NameTypeRequiredDefaultNotesOther Information

Response Data

NameTypeRequiredDefaultNotesOther Information
ErrCodestringNot RequiredResponse Codemock: 000000
ErrDescstringNot RequiredResponse Descriptionmock: OK
Resultstring[]Not RequiredResponse ResultItem Type: string
├─Not Required

21. Get Event List

Basic Information

Path: /ccapi/v2/subscriptions
Method: GET
Interface Description:

Overview

Obtain a list of subscribed events.

Example

Request

URL: http://ip:port/ccapi/v2/subscriptions?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}

Response

{
    "ErrCode":"000000",
    "ErrDesc":"OK",
    "Result":{
    "callback":"http://ip:port",
    "enable":"false",
    "events":["acd_agent_state"],
    "name":"sub1"
}
}

Request Parameters

Query

Parameter NameRequiredExampleRemarks
AppIdYes4b8dc715-05e0-4340-6cae-a6e3c39a6012Application ID

Return Data

NameTypeRequiredDefaultRemarksOther Information
ErrCodestringNot RequiredResponse Code
ErrDescstringNot RequiredResponse Description
ResultobjectNot RequiredResponse Result
├─ callbackstringNot RequiredCallback URLmock: http://ip:port
├─ enablestringNot RequiredSubscription Statusmock: true enables; false disables
├─ eventsstring[]Not RequiredEventsitem type: string
├─Not Required
├─ namestringNot RequiredTenant's Name

22. Agent Sign-In

Basic Information

Path: /ccapi/v2/agent/login
Method: POST
Interface Description:

Overview

Sign in a specified agent.
Note:

  • Only signed-in agents can answer or make outgoing calls;
  • Agents without an extension bound cannot sign in;
  • The 'Set to Idle, Offline' operation in the front-end SDK is accompanied by sign-in and sign-out operations.

Example

Request

URL: http://ip:port/ccapi/v2/agent/login?AppId={{appid}}&Timestamp={{mytime}}&Sign={{Sign}}&Sid={{Sid}}
BODY:
    {
        "agent_id":"10032"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "msg_id": "111",
    "results": "",
    "data": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
MsgIdYes111MsgId sent during sign-in
AppIdYesa54a8b77-f12d-4ac9-742d-5b2bef5c4d11Application ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
agent_idstringRequiredAgent IDmock: 10032
work_idstringNot RequiredAgent job numbermock: 22
queue_idsstring[]Not RequiredQueue identifier array (specifically used for reporting to NSQ)item type: string
├─Not Required
stateintegerNot RequiredAgent status after going online, 0: 'Idle', 1: 'Waiting'

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Code
ErrDescstringNot RequiredResponse Description
msg_idstringNot RequiredMsgId sent during sign-in
resultsstringNot RequiredResponse Results
datastringNot RequiredData

23. Agent Logout

Basic Information

Path: /ccapi/v2/agent/logout
Method: POST
Interface Description:

Overview

Logs out the specified agent.
Note:

  • Only an agent who has checked in can answer or make outgoing calls;
  • Incoming calls in the queue will not be distributed to agents who have checked out.

Example

Request

URL: http://ip:port/ccapi/v2/agent/logout?app_id={{appid}}&Sign={{Sign}}&Timestamp={{mytime}}&Sid={{Sid}}
BODY:
    {
        "agent_id":"1802"
    }

Response

{
    "ErrCode": "000000",
    "ErrDesc": "OK",
    "msg_id": "111",
    "results": "",
    "data": null
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
MsgIdNoThe MsgId sent during sign-in
app_idYesApplication ID

Body

NameTypeRequiredDefault ValueRemarksOther Information
agent_idstringRequiredAgent IDmock: 10032

Response Data

NameTypeRequiredDefault ValueRemarksOther Information
ErrCodestringNot RequiredResponse Code
ErrDescstringNot RequiredResponse Description
msg_idstringNot RequiredThe MsgId sent during logout
resultsstringNot RequiredResponse Results
datastringNot RequiredData

24. Callback User to IVR

Basic Information

Path: /ccapi/v2/callback2ivr
Method: POST
Interface Description:
Overview
This interface initiates a call to a user, and once the call is connected, it follows the same inbound process, i.e., finding the IVR through routing.
The request requires the same authentication method as other openAPIs, with the tenant ID and the corresponding signature string in the parameter list.

Example

Request

URL: http://ip:port/ccapi/v2/callback2ivr?app_id={{appid}}&Sign={{Sign}}&Timestamp={{mytime}}&Sid={{Sid}}
{
    "caller":"18789998765",
    "called":"02863208944",
    "called_display":"02863208944"
}

Response

{
    "code": "000000",
    "message": "OK",
    "results": "c9d52506-c41b-431f-5fa0-b701a81a2da6"
}

Request Parameters

Headers

Parameter NameParameter ValueRequiredExampleRemarks
Content-Typeapplication/jsonYes

Query

Parameter NameRequiredExampleRemarks
app_idYesa54a8b77-f12d-4ac9-742d-5b2bef5c4d11Tenant id

Body

NameTypeRequiredDefault ValueRemarksOther Information
callerstringRequiredThe target customer number to callback
calledstringRequiredRelay number
called_displaystringRequiredDisplay number (usually the relay number)
variablesstringNot RequiredCustom variables carried with the call (can be used as variables in IVR configuration) "[{"key/": "extemalNumber","type":"string","value":"13800000000"}]"

Return Data

NameTypeRequiredDefault ValueRemarksOther Information
codestringNot RequiredReturn code
messagestringNot RequiredError message
resultsstringNot RequiredResponse result

25. Get Agent Information

Basic Information

Path: /ccapi/v2/agents/{id}
Method: GET
Interface Description:
Overview
This interface can be used to obtain the current status, employee number, assigned queue, sub-status, and extension information of the agent.
The request requires the same authentication method as other openAPIs, and the parameter list should include the tenant ID and the corresponding signature string.

Example

Request

URL: http://ip:port/ccapi/v2/agents/355?AppId={{appid}}&Sign={{Sign}}&Timestamp={{mytime}}&Sid={{Sid}}

Response

{
  "ErrCode": "000000",
  "ErrDesc": "OK",
  "Result": {
    "AppId": "xxx",
    "AgentId": "355@7859ff65-0e6a",
    "WorkId": "111",
    "Name": "alice",
    "NickName": "alice",
    "Mobile": "1327766543",
    "Email": "aaaa@test.cn",
    "Role": "agent",
    "Queues": [
      "2@7859ff65-0e6a"
    ],
    "QueuesNames": [
      "A"
    ],
    "Extensions": [
      "1145","1146"
    ],
    "DefSpNumber": "0107766",
    "State": 4,
    "StateDes": "offline",
    "ReasonCode": 0,
    "ReasonCodeDes": "",
    "ExtState": 0,
    "Enable": true,
    "ExtenInfos": [
      {"Number":"","Extension":"1145","Password":"xxx","SignalType":"voip"}
    ]
  }
}

Request Parameters

Path Parameters

Parameter NameRequiredExampleRemarks
idYes355Agent ID

Query

Parameter NameRequiredExampleRemarks
AppIdYesa54a8b77-f12d-4ac9-742d-5b2bef5c4d11Tenant ID

Response Data

NameTypeRequiredDefaultRemarksOther Information
ErrCodestringRequiredResponse Codemock: 000000
ErrDescstringRequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock:

26. Get Queue Agent List

Basic Information

Path: /ccapi/v2/queues/agents_list/{queue_id}
Method: GET
Interface Description:
Overview
This interface allows you to specify the list of agents for a queue.
The request requires the same authentication method as other openAPIs, and the parameter list should include the tenant ID and the corresponding generated signature string.

Example

Request

URL: http://ip:port/ccapi/v2/queues/agents_list/3?AppId={{appid}}&Sign={{Sign}}&Timestamp={{mytime}}&Sid={{Sid}}

Response

{
      "ErrCode": "000000",
      "ErrDesc": "OK",
      "Result": [
       {
        "AppId": "xxx",
        "AgentId": "355@7859ff65-0e6a",
        "WorkId": "111",
        "Name": "alice",
        "NickName": "alice",
        "Mobile": "1327766543",
        "Email": "aaaa@test.cn",
        "Role": "agent",
        "Queues": [
         "2@7859ff65-0e6a"
        ]
        "QueuesNames": [
         "A"
        ]
        "Extensions": [
         "1145","1146"
        ]
        "DefSpNumber": "0107766",
        "State": 4,
        "StateDes": "offline",
        "ReasonCode": 0,
        "ReasonCodeDes": "",
        "ExtState": 0,
        "Enable": true,
        "ExtenInfos": [
         {"Number":"","Extension":"1145","Password":"xxx","SignalType":"voip"}
        ]
       }
       ]
}

Request Parameters

Path Parameters

Parameter NameRequiredExampleRemarks
idYes3Queue ID

Query

Parameter NameRequiredExampleRemarks
AppIdYesa54a8b77-f12d-4ac9-742d-5b2bef5c4d11Tenant ID

Return Data

NameTypeRequiredDefaultRemarksOther Information
ErrCodestringRequiredResponse Codemock: 000000
ErrDescstringRequiredResponse Descriptionmock: OK
ResultstringNot RequiredResponse Resultmock: