Retrieve a User

get

/identities/user/{userid}

Retrieves a user by user ID.

Request

There are no request parameters for this operation.

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
Success
Body
Root Schema : /paths/~1identities~1user~1{userid}/get/responses/200/schema

Examples

The following example shows a response body when retrieving a user by user ID.

   {
                               "levels": 0,
                               "id": "jlondon",
                               "type": "user",
                               "email": "jlondon@emailExample.com",

                               "firstName": "Jack",
                               "lastName": "London",
                               "mobile": "300000008",
                               "workPhone": "100000008",
                               "country": "US",
                               "language": "en",
                               "adminFlag": false,

                               "manager": {
                               "href": "http://example.com/bpm/api/3.0/identities/user/sfitzger",

                               "length": 0,
                               "rel": "manager"

                                 },
                               "reportees": {

                               "totalResult": false,
                               "hasMore": false,
                               "items": []
                                  },
                              "homePhone": "200000008",
                              "groups": {
                              "totalResult": false,
                              "hasMore": false,
                              "items": [{
                              "levels": 0,
                              "id": "LoanAgentGroup",
                                "email": "",
                                "idLink": {
                                "href": "http://example.com/bpm/api/3.0/identities/group/LoanAgentGroup",


                                "length": 0,
                                "rel": "self"
                                   }
                                   }, {
                                 "levels": 0,
                                "id": "CentralRegion",
                                "email": "",  
                               "idLink": {
                               "href": "http://example.com/bpm/api/3.0/identities/group/CentralRegion",

                               "length": 0,
                                  "rel": "self"
                                  }
                                  }, {
                                "levels": 0,
                                "id": "RegionalOffices",
                                "email": "",
                                "idLink": {
                                "href": "http://example.com/bpm/api/3.0/identities/group/RegionalOffices",
                                "length": 0,
                                "rel": "self"
                                   }
                                          }]
                                            }
                              }

For more information about cURL, see Use cURL