From Bright Pattern Documentation
m (→Create User) |
m |
||
(One intermediate revision by the same user 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 | ||
− | == | + | == Response == |
− | + | { | |
− | + | "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" | |
− | + | ] | |
− | + | } | |
− | + | ||
− | } | ||
− | |||
</translate> | </translate> |
Latest revision as of 23:50, 13 November 2018
Contents
- Introduction
- API Specification
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
Response
{ "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" ] }