Get Company User Details

get

/rest/v16/companies/{companyName}/users/{userName}

This operation returns user details for a specific user.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

User details.
Body ()
Root Schema : user
Type: object
Show Source
Nested Schema : Access Permissions
Type: object
Title: Access Permissions
Access Permissions of a user
Show Source
Nested Schema : Company details
Type: object
Title: Company details
User Company details. Applicable only for Users Across Companies
Show Source
Nested Schema : Currency
Type: object
Title: Currency
Currency preference of user. Value holds currency code
Show Source
Nested Schema : Date Format
Type: object
Title: Date Format
User preferred date time format
Show Source
Nested Schema : Enabled For SSO
Type: object
Title: Enabled For SSO
Enabled For SSO
Show Source
Nested Schema : Groups
Type: object
Title: Groups
Groups to which the user belongs
Show Source
Nested Schema : Language
Type: object
Title: Language
Language preference of user. Value holds language code
Show Source
Nested Schema : Number Format
Type: object
Title: Number Format
Preferred number format of user
Show Source
Nested Schema : Status
Type: object
Title: Status
Status of the user
Show Source
Nested Schema : TimeZone of user
Type: object
Title: TimeZone of user
User preferred timezone
Show Source
Nested Schema : Type
Type: object
Title: Type
Type of the user
Show Source
Nested Schema : Units
Type: object
Title: Units
User preferred units
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Access Permission
Type: object
Title: Access Permission
User access bits information
Show Source
  • Title: Has Access
    Boolean attribute that indicates if a user has access to the restricted entity.
  • Title: Restricted Entity Name
    Name of the entity to which access restrictions apply
  • Title: Type
    Type of the restricted entity. Possible values productFamily, supportedProductFamily and dataTableFolder
  • Title: Restricted Entity Variable Name
    Variable name of the entity to which access restrictions apply
Nested Schema : items
Type: array
Show Source
Nested Schema : Group
Type: object
Title: Group
User group information
Show Source
Back to Top

Examples

The following example shows how to returns user details for a specific user by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" 
https://sitename.oracle.com/rest/v16/companies/_host/users/alicia.sans

Response Body Sample

 {
  "login": "alicia.sans",
  "isNotifyFax": false,
  "firstName": "Alicia",
  "lastName": "Sans",
  "jobTitle": "Representante de Ventas",
  "email": "alicia.sans_eczw@companyemail.com",
  "partnerLogin": "john.dunbar",
  "externalSsoId": "alicia.sans_eczw@companyemail.com",
  "separateShipAddr": false,
  "isNotifyEmail": true,
  "isWebServicesOnly": false,
  "dateModified": "2020-10-13T16:28:54.000Z",
  "dateAdded": "2018-05-07T14:15:38.000Z",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/companies/_host/users/alicia.sans"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/companies/_host/users/alicia.sans/groups"
    }
  ],
  "type": {
    "value": "SALES_AGENT",
    "displayValue": "SalesAgent"
  },
  "language": {
    "value": "es_ES",
    "displayValue": "Spanish"
  },
  "currency": {
    "value": "EUR",
    "displayValue": "Euro"
  },
  "numberFormat": {
    "value": 0,
    "displayValue": "####.##"
  },
  "timeZone": {
    "value": "America/New_York",
    "displayValue": "(GMT-5:00 GMT-4:00) New York"
  },
  "units": {
    "value": 0,
    "displayValue": "System Default"
  },
  "dateFormat": {
    "value": 2,
    "displayValue": "dd/MM/yyyy HH:mm"
  },
  "status": {
    "value": 1,
    "displayValue": "Active"
  },
  "enabledForSso": {
    "value": "SSO_ENABLED",
    "displayValue": "Enabled for SSO"
  }
}
Back to Top