From Bright Pattern Documentation
Jump to: navigation, search
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<translate>= Get User Data=
 
<translate>= Get User Data=
This API returns user data, such as name, team, extension, skills, and so forth.
+
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>

Latest revision as of 23:50, 13 November 2018

• 3.16 • 3.17 • 3.18

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


< Previous | Next >