Get Sales Company

get

/rest/v16/salesCompanies/{companyLogin}

Use this endpoint to retrieve the specified company login name.

Request

Path Parameters
Back to Top

Response

200 Response

The response for getting a single sales company.
Body ()
Root Schema : salesCompanyItem
Type: object
Show Source

403 Response

The user has no access to the resource

404 Response

Search with id not be found
Back to Top

Examples

The following example shows how to retrieve the specified company login name 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

Response Body Sample

{
  "name": "A1BM1",
  "login": "a_Co1BM",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/groups",
      "name": "groups"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/users",
      "name": "users"
    }
  ]
}
Back to Top