Employees are the people that have access to your Partner Portal.
id | string <uuid> Employee identifier. | ||||||||||
enabled | boolean Whether the employee is enabled. | ||||||||||
family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
role | string The role this employee has within your Partner portal.
| ||||||||||
username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}
Retrieve a list of employees.
Successful response.
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25,
- "offset": 0
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "employee",
- "username": "john.doe@my-partner.com"
}
], - "total": 3255
}
Add a new employee.
The employee you wish to add.
family_name required | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
given_name required | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
role required | string The role this employee has within your Partner portal.
| ||||||||||
username required | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
Created.
id | string <uuid> Employee identifier. | ||||||||||
enabled | boolean Whether the employee is enabled. | ||||||||||
family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
role | string The role this employee has within your Partner portal.
| ||||||||||
username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
Bad request.
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "employee",
- "username": "john.doe@my-partner.com"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}
Retrieve an employee by its identifier.
Successful response.
id | string <uuid> Employee identifier. | ||||||||||
enabled | boolean Whether the employee is enabled. | ||||||||||
family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
role | string The role this employee has within your Partner portal.
| ||||||||||
username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}
Update an employee by its identifier.
The updated employee.
enabled required | boolean Whether the employee is enabled. | ||||||||||
family_name required | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
given_name required | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
role required | string The role this employee has within your Partner portal.
| ||||||||||
username required | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
Successful response.
id | string <uuid> Employee identifier. | ||||||||||
enabled | boolean Whether the employee is enabled. | ||||||||||
family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
role | string The role this employee has within your Partner portal.
| ||||||||||
username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
Bad request.
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "employee",
- "username": "john.doe@my-partner.com"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}