Update contact organizations
Method |
update.contact_organizations |
Description |
Updating contact organizations |
Who has access |
Agent, customer |
Parameters of the request
Title |
Type |
Required |
Description |
access_token |
string |
yes |
Authentication session key |
user_id |
number |
no |
Unique user ID of a customer or an agent who makes request. Is mandatory for the agent To access a list of customer users you need to use the method "get.customer_users" |
name |
string |
yes |
Name of organization |
id |
number |
yes |
Unique ID of organization |
JSON request structure
{
"jsonrpc":"2.0",
"id":"number",
"method":"update.contact_organizations",
"params":{
"access_token":"string",
"user_id":"number",
"name":"string",
"id":"number"
}
}
JSON reply structure
{
"jsonrpc":"2.0",
"id":"number",
"result":{
}
}
List of returning errors
Refer to "List of errors for methods with the verb update"