Get Price Model Access Rights

get

/rest/v19/pricingSetup/models/{modelVariableName}/accessRights

Use this endpoint to retrieve access rights for the specified price model.

Request

Path Parameters
Query Parameters
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link).More than one child can be specified using comma as a separator. Example: ?expand=groupName,groupLabel.To include all the children,grandChildren,specify the value of this query parameter to be "all".
  • This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : AccessRights
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Examples

The following examples show how to retrieve access rights for the specified price model by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/pricingSetup/models/absolutePrice/accessRights

Response Body Sample

{
  "items": [{
      "groupLabel": "Segments Partial Access",
      "groupName": "segmentsPartialAccess",
      "accessType": "EDIT_NO_DELETE"
    }, {
      "groupLabel": "Access Restrictions",
      "groupName": "accessRestrictions",
      "accessType": "FULL"
    }, {
      "groupLabel": "Products",
      "groupName": "products",
      "accessType": "FULL"
    }, {
      "groupLabel": "Pricing Partial Access",
      "groupName": "pricingPartialAccess",
      "accessType": "READ"
    }
  ]
}
Back to Top