Creates an employee position.
Employees >
Creates an employee position.
Method
create.employee_positions
API version
—
Description
Creates an employee position.
Available to: Agents and clients
Request parameters
Name
Type
Required
Description
access_token
string
yes
Access token used to authenticate the request.
user_id
number
no
Unique ID of the client user on whose behalf the agent is making the request. Required for agents. To retrieve a list of client users, use "get.customer_users" .
name
string
yes
Employee position title.
Response parameters
Name
Type
Required
Description
id
number
yes
Unique employee position ID.
Example request
{
"jsonrpc":"2.0",
"id":"number",
"method":"create.employee_positions",
"params":{
"access_token":"string",
"user_id":"number",
"name":"string"
}
}
Example response
{
"jsonrpc":"2.0",
"id":"number",
"result":{
"id":"number"
}
}
Possible errors
See the "Errors for create methods" section.