Get Sales Company Group

get

/rest/v16/salesCompanies/{companyLogin}/groups/{groupVarName}

Use this endpoint to retrieve the specified sales company group.

Request

Path Parameters
Back to Top

Response

200 Response

The sales group for the company retrieved successfully
Body ()
Root Schema : salesGroupItem
Type: object
Show Source

403 Response

User has no access to the company resource

404 Response

The company resource or the group not found
Back to Top

Examples

The following example shows how to retrieve the specified sales company group 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/groups/aGroup1

Response Body Sample

{
  "label": "AGroup1",
  "variableName": "aGroup1",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/groups/aGroup1"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/salesCompanies/a_Co1BM/groups"
    }
  ]
}
Back to Top