From Bright Pattern Documentation
(→Get User Data) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<translate>= Get User Data= | <translate>= Get User Data= | ||
− | + | Returns user data, such as name, team, extension, skills, and so forth. | |
− | == URL == | + | == Request == |
− | http[s]://<host | + | === URL === |
+ | http[s]://<host>/admin/ws/t/<tenant_url>/user/<login_id> | ||
− | == Method == | + | === HTTP Method === |
GET | GET | ||
== Response == | == Response == | ||
− | { | + | { |
− | + | "loginId": "test008", | |
− | + | "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
- 1 Get User Data
User Management API Specification
Get User Data
Returns user data, such as name, team, extension, skills, and so forth.
Request
URL
http[s]://<host>/admin/ws/t/<tenant_url>/user/<login_id>
HTTP Method
GET
Response
{ "loginId": "test008", "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" ] }