Modifies the group associations of contacts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:MoveContactToGroup |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Contacts |
string |
Yes |
The list of contacts whose group associations are to be modified. |
[{"id":1}] |
| LinkExistGroups |
string |
No |
The list of existing group IDs to associate with. |
[{"id":1}] |
| LinkNewGroups |
string |
No |
The list of new group names to associate with. |
[{"groupName":"aaa"}] |
|
No |
The business tenant code. Default value: ALICOM_OPAAS. |
ALICOM_OPAAS |
||
|
No |
The business extension information. Default value: an empty collection. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. This field is returned only when RAM authentication fails. |
None |
| Message |
string |
The message returned with the result. |
Sample value. |
| RequestId |
string |
The unique request ID. |
Sample value. |
| Data |
object |
The returned object. |
|
| Code |
string |
The request status code.
|
OK |
| Success |
boolean |
Indicates whether the call was successful.
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "示例值",
"RequestId": "示例值",
"Data": {
"test": "test",
"test2": 1
},
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.