A customer's employee, this can be an employee that doesn't have the ability to log in.
id | string <uuid> Employee identifier. |
contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
customer_id | string <uuid> Reference to the customer to which the employee belongs. |
enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
family_name | string <= 255 characters Family name of the employee. |
given_name | string <= 255 characters Given name of the employee. |
username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
Retrieve a list of all employees.
Successful response.
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25,
- "offset": 0,
- "enabled": true
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
], - "total": 3255
}
Add a new employee.
The employee you wish to add.
contact_point_id required | string or null <uuid> The contact point to use to contact this employee. |
correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
customer_id required | string <uuid> Reference to the customer to which the employee belongs. |
family_name required | string <= 255 characters Family name of the employee. |
given_name required | string <= 255 characters Given name of the employee. |
username required | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
Created.
id | string <uuid> Employee identifier. |
contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
customer_id | string <uuid> Reference to the customer to which the employee belongs. |
enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
family_name | string <= 255 characters Family name of the employee. |
given_name | string <= 255 characters Given name of the employee. |
username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
Bad request.
An error occurred - see status code and problem response for more information.
{- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
Retrieves an employee by its identifier.
Successful response.
id | string <uuid> Employee identifier. |
contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
customer_id | string <uuid> Reference to the customer to which the employee belongs. |
enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
family_name | string <= 255 characters Family name of the employee. |
given_name | string <= 255 characters Given name of the employee. |
username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
Update an employee by its identifier.
The updated employee.
contact_point_id required | string or null <uuid> The contact point to use to contact this employee. |
correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
enabled required | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
family_name required | string <= 255 characters Family name of the employee. |
given_name required | string <= 255 characters Given name of the employee. |
username required | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
Successful response.
id | string <uuid> Employee identifier. |
contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
customer_id | string <uuid> Reference to the customer to which the employee belongs. |
enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
family_name | string <= 255 characters Family name of the employee. |
given_name | string <= 255 characters Given name of the employee. |
username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
Bad request.
An error occurred - see status code and problem response for more information.
{- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
Remove an employee by its identifier. You can only remove employees without a username.
Successfully removed.
Forbidden.
An error occurred - see status code and problem response for more information.
{- "status": 403,
- "type": "about:blank",
- "title": "Forbidden",
- "detail": "You are not authorized to access this resource."
}