From Bright Pattern Documentation
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<translate>= Create User= | <translate>= Create User= | ||
− | + | Creates a new user in the system. | |
− | ==URL == | + | == Request == |
− | http[s]://<host | + | === URL === |
+ | http[s]://<host>/admin/ws/t/<tenant_url>/user | ||
− | == Method == | + | === HTTP Method === |
POST | POST | ||
− | == Request | + | == Example Request Body == |
− | + | { | |
− | + | "loginId": "test008", | |
− | { | + | "password": "top secret", |
− | + | "firstName": "test", | |
− | + | "lastName": "008", | |
− | + | "team": "Maintenance Renewal", | |
− | + | ||
− | + | "extension": "2072", | |
− | + | "workPhone": "123456", | |
− | + | "mobilePhone": "78910", | |
− | + | "email": "test008@nowhere.net", | |
− | + | "disabled": false, | |
− | + | "changePassword": true, | |
− | + | "skills": { | |
− | + | "Maintenance Renewal": 100, | |
− | + | "English": 33 | |
− | + | }, | |
− | + | "roles": [ | |
− | + | "Agent", | |
− | + | "Supervisor" | |
− | + | ] | |
− | + | } | |
− | |||
− | |||
− | |||
+ | == Response == | ||
+ | 204 No Content | ||
+ | |||
+ | To verify the user was created, check in the Contact Center Administrator application. | ||
</translate> | </translate> |
Latest revision as of 19:39, 30 July 2019
Contents
- Introduction
- API Specification
- Clear User Lock State
- 1 Create User
- Export Access Numbers
- Export User Phone Numbers
- Get User Data
- Get User Lock State
- Update User
User Management API Specification
Create User
Creates a new user in the system.
Request
URL
http[s]://<host>/admin/ws/t/<tenant_url>/user
HTTP Method
POST
Example Request Body
{ "loginId": "test008", "password": "top secret", "firstName": "test", "lastName": "008", "team": "Maintenance Renewal", "extension": "2072", "workPhone": "123456", "mobilePhone": "78910", "email": "test008@nowhere.net", "disabled": false, "changePassword": true, "skills": { "Maintenance Renewal": 100, "English": 33 }, "roles": [ "Agent", "Supervisor" ] }
Response
204 No Content
To verify the user was created, check in the Contact Center Administrator application.