Get Price Agreement Access Rights
get
/rest/v19/pricingSetup/agreements/{agreementVariableName}/accessRights
Use this endpoint to retrieve access rights for the specified price agreement.
Request
Path Parameters
Query Parameters
-
expand: string
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 and grandChildren specify the value of this query parameter to be "all".
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : AccessRights
Type:
Show Source
object-
accessType:
string()
Title:
Access TypeThe type of access which the group has to a particular entity -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
groupLabel:
string()
Title:
Group LabelThe label of Group -
groupName:
string()
Title:
Group NameThe name of Group -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe 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 ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
Examples
The following examples show how to retrieve access rights for the specified price agreement 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/agreements/maintenanceAgreementaccount138/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"
}
]
}