User Details

get

/appstore/publisher/v1/users/{id}

Fetch the user details registered with current company (partner).

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : User
Type: object
Show Source
Nested Schema : Role
Type: object
Show Source

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example returns the details of the given user associated with the partner, by submitting a GET request on the REST resource using cURL.

cURL Example

curl -X GET -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/users/9483298"

Request Header

X-Oracle-UserId: fname.lname@oracle.com
Authorization: Bearer Access-token

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
  "userId": 9483298,
  "firstName": "John",
  "lastName": "David",
  "email": "John.David@oracle.com",
  "role": {
    "roleId": 2,
    "roleName": "Partner Member"
  }
  "createdBy": "John David",
  "creationDate": "2018-02-09T21:32:02.000Z",
  "lastModifiedBy": "John David",
  "lastModificationDate": "2018-02-09T21:32:02.000Z"
}
Back to Top