From Bright Pattern Documentation
(→Get User Data) |
|||
Line 2: | Line 2: | ||
This API returns user data, such as name, team, extension, skills, and so forth. | This API 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> |
Revision as of 23:36, 13 November 2018
Contents
- Introduction
- API Specification
- 1 Get User Data
User Management API Specification
Get User Data
This API 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" ] }