Get Sales Company User
get
/rest/v16/salesCompanies/{companyLogin}/users/{userLoginName}
Use this endpoint to retrieve the specified sales company user.
Request
Path Parameters
-
companyLogin(required): string
The unique variable name to identify the company
-
userLoginName(required): string
The unique login of the sales user
Response
200 Response
The users for the company retrieved successfully
Root Schema : salesUserItem
Type:
Show Source
object
-
dateAdded:
string
Example:
2008-05-03T15:29:35.000Z
-
dateModified:
string
Example:
2008-05-03T15:29:35.000Z
-
email:
string
Example:
kevin@partnerOrg.com
-
firstName:
string
Example:
Kevin
-
lastName:
string
Example:
Peterson
-
links:
array links
-
login:
string
Example:
user1234
-
userKey:
string
Example:
sssss-fffff-3333-aaa
Nested Schema : links
Type:
Show Source
array
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
object
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current object
Default Value:self
Link Relationship to the current object
403 Response
User has no access to the company resource
404 Response
The company resource or the user not found
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" } ] }