Get Sales Company User

get

/rest/v16/salesCompanies/{companyLogin}/users/{userLoginName}

Use this endpoint to retrieve the specified sales company user.

Request

Path Parameters
Back to Top

Response

200 Response

The users for the company retrieved successfully
Body ()
Root Schema : salesUserItem
Type: object
Show Source

403 Response

User has no access to the company resource

404 Response

The company resource or the user not found
Back to Top

Examples

The following example shows how to retrieve the specified sales company 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" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/users/FA_date4

Response Body Sample

{
  "login": "FA_date4",
  "firstName": "duncin",
  "lastName": "salesagent",
  "userKey": "d453a7df-b6d1-4dbf-8ebe-9507e0740d16",
  "email": "junk@bigmachines.com",
  "dateAdded": "2011-02-09T22:55:11.000Z",
  "dateModified": "2024-05-14T04:19:16.000Z",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/users/FA_date4"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/users"
    }
  ]
}
Back to Top