Update employee positions
Updating employees positions
Method | update.employee_positions |
---|---|
Description | Updating employees positions |
Who has access | Agent, Customer |
Parameters of a 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 an agentTo get a list of customer users use the method "get.customer_users" |
name |
string | yes | Position title |
id |
number | yes | Position ID |
JSON request structure
{
"jsonrpc":"2.0",
"id":"number",
"method":"update.employee_positions",
"params":{
"access_token":"string",
"user_id":"number",
"id":"number",
"name":"string"
}
}
JSON reply structure
{
"jsonrpc":"2.0",
"id":"number",
"result":{
}
}