Get Pricing Access Rights for a Group

get

/rest/v19/companies/{companyLoginName}/groups/{groupVarName}/segments/_pricing/subSegments/{segmentVarName}/accessRights

This endpoint retrieves group access rights for the specified pricing segment (Price Models or Price Agreements).

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Access rights.
Body ()
Root Schema : Pricing Segment Access Rights
Type: object
Title: Pricing Segment Access Rights
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Pricing Segment Access Rights
Type: object
Title: Pricing Segment Access Rights
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Pricing Segment Access Rights
Type: object
Title: Pricing Segment Access Rights
Show Source
Back to Top

Examples

The following examples show how to retrieve group access rights for the specified pricing segment (Price Models or Price Agreements) by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

Price Model Example

curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/companies/dataSolutions/groups/pricingPartialAccess/segments/_pricing/subSegments/_priceModels/accessRights

Response Body Sample

{
  "segmentVarName": "_priceModels",
  "items": [{
      "name": "All Price Models",
      "variableName": "All Price Models",
      "accessType": "FULL"
    }, {
      "name": "Absolute Price",
      "variableName": "absolutePrice",
      "accessType": "READ"
    }
  ]
}

Price Agreement Example

curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/companies/dataSoluntions/groups/pricingPartialAccess/segments/_pricing/subSegments/_priceAgreements/accessRights

Response Body Sample

{
  "segmentVarName": "_priceAgreements",
  "items": [{
      "name": "All Price Agreements",
      "variableName": "All Price Agreements",
      "accessType": "FULL"
    }, {
      "name": "Maintenance Agreement",
      "variableName": "maintenanceAgreementaccount138",
      "accessType": "READ"
    }
  ]
}
Back to Top