From Bright Pattern Documentation
Jump to: navigation, search
(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>:<port>/admin/ws/t/<tenant_url>/user/<login_id>
+
=== URL ===
 +
http[s]://<host>/admin/ws/t/<tenant_url>/user/<login_id>
  
== Method ==
+
=== HTTP Method ===
 
GET
 
GET
  
 
== Response ==
 
== Response ==
{|border="1" style="border-collapse:collapse" cellpadding="5"
+
{
|
+
  "loginId": "test008",
{
+
  "firstName": "test",
"loginId": "test008",
+
  "lastName": "008",
"firstName": "test",
+
  "team": "Maintenance Renewal",
"lastName": "008",
+
  "extension": "2072",
"team": "Maintenance Renewal",
+
  "workPhone": "123456",
"extension": "2072",
+
  "mobilePhone": "78910",
"workPhone": "123456",
+
  "email": "test008@nowhere.net",
"mobilePhone": "78910",
+
  "disabled": false,
"email": "test008@nowhere.net",
+
  "changePassword": true,
"disabled": false,
+
  "skills": {
"changePassword": true,
+
  "Maintenance Renewal": 100,
"skills": {
+
  "English": 33
  "Maintenance Renewal": 100,
+
  },
  "English": 33
+
  "roles": [
},
+
    "Agent",
"roles": [
+
    "Supervisor"
  "Agent",
+
  ]
  "Supervisor"
+
}
]
+
 
}
+
 
|}
+
 
  
 
</translate>
 
</translate>

Revision as of 23:36, 13 November 2018

• 3.16 • 3.17 • 3.18

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"
 ]
}


< Previous | Next >