AddPhoneNumberToSkillGroups

Updated at:

Associates a phone number with one or more skill groups in a specified instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

ccc-test

Number

string

Yes

The phone number.

0101234****

SkillGroupIdList

string

Yes

The list of skill group IDs.

["skillgroup1@ccc-test","skillgroup2@ccc-test"]

Response elements

Element

Type

Description

Example

object

Code

string

The response code.

OK

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The response message.

None

RequestId

string

The request ID.

EEEE671A-3E24-4A04-81E6-6C4F5B39DF75

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75"
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Maximum The parameter %s must be less than or equal to %s. The parameter must be less than or equal to the maximum value defined by the system.
400 Parameter.Minimum The parameter %s must be greater than or equal to %s. The parameter must be greater than or equal to the minimum value defined by the system.
404 NotExists.InstanceId The specified instance %s does not exist. The specified call center instance does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.