EnableSchemaProperty
Enables a property in a specified schema.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SchemaId |
string |
Yes |
schema id |
profile |
| PropertyName |
string |
Yes |
The property name. |
name |
| RequestId |
string |
No |
The request ID. |
03C67DAD-EB26-41D8-949D-9B0C470FB716 |
| InstanceId |
string |
Yes |
The instance ID. |
9cfad875-6260-4a53-ab6e-b13e3fb31f7d |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
EnableSchemaPropertyResponse |
||
| RequestId |
string |
The request ID. |
2778FA12-EDD6-42AA-9B15-AF855072E5E5 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
The operation is not allowed. User state (READY) does not meet expectations (OFFLINE). |
| Params |
array |
The response elements. |
|
|
string |
The response elements. |
['wudi@zcwlwhkf'] |
Examples
Success response
JSON format
{
"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']"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.