调用EnableSchemaProperty接口启用指定Schema中的字段。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SchemaId |
string |
是 |
schema id |
profile |
| PropertyName |
string |
是 |
字段名 |
name |
| RequestId |
string |
否 |
请求 ID |
03C67DAD-EB26-41D8-949D-9B0C470FB716 |
| InstanceId |
string |
是 |
实例 ID。 |
9cfad875-6260-4a53-ab6e-b13e3fb31f7d |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
EnableSchemaPropertyResponse |
||
| RequestId |
string |
请求 ID。 |
2778FA12-EDD6-42AA-9B15-AF855072E5E5 |
| HttpStatusCode |
integer |
HTTP 状态码 |
200 |
| Code |
string |
响应码 |
OK |
| Message |
string |
响应信息 |
The operation is not allowed. User state (READY) does not meet expectations (OFFLINE). |
| Params |
array |
响应参数。 |
|
|
string |
响应参数。 |
['wudi@zcwlwhkf'] |
示例
正常返回示例
JSON格式
{
"RequestId": "2778FA12-EDD6-42AA-9B15-AF855072E5E5",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "The operation is not allowed. User state (READY) does not meet expectations (OFFLINE).",
"Params": [
"['wudi@zcwlwhkf']"
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心实例不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。