Create an intra-role rules check
post
/fscmRestApi/resources/11.13.18.05/advancedControlsRoleSegregations/action/runIntraRoleCheck
Create an intra-role rules check
Request
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object
-
flattenedRoleHierarchy: array
flattenedRoleHierarchy
A comprehensive list of roles representing a role hierarchy in its flattened structure.
Nested Schema : flattenedRoleHierarchy
Type:
array
A comprehensive list of roles representing a role hierarchy in its flattened structure.
Show Source
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): object
result
Additional Properties Allowed: additionalPropertiesFor the given role a list of role codes that conflict with each other are returned.
Nested Schema : result
Type:
object
Additional Properties Allowed
Show Source
For the given role a list of role codes that conflict with each other are returned.
Examples
The following example shows how to create an intrarole rules check by submitting a POST request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/advancedControlsRoleSegregations/advancedControlsRoleSegregations/action/runIntraRoleCheck
Example Request Body
The following example shows the contents of the request body in JSON format:
{ "flattenedRoleHierarchy" : ["ORA_ZBS_SALES_VP_JOB","OKC_VIEW_CONTRACT_PRIV_OBI","OKC_EDIT_CONTRACT_PRIV_OBI", "CRM_CUSTOMER_IMPORT_RWD","CRM_CONTACT_IMPORT_RWD","CRMAdmin","CN_APPROVE_AND_MONITOR_INCENTIVE_COMPENSATION_PLAN_DOCUMENTS_PRIV_OBI", "CN_ACCEPT_INCENTIVE_COMPENSATION_PLAN_DOCUMENT_PRIV_OBI","ORA_AP_PAYABLES_INVOICE_CREATION_DUTY","ORA_AP_PAYABLES_INVOICE_APPROVAL_DUTY", "ORA_EXM_EXPENSE_ENTRY_DUTY_HCM","ORA_EXM_EXPENSE_APPROVAL_DUTY_HCM","ORA_ZSF_SALES_FORECASTING_MANAGEMENT_DUTY"] }
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "result": { "ORA_ZBS_SALES_VP_JOB": [ "ORA_ZBS_SALES_VP_JOB" ], "OKC_VIEW_CONTRACT_PRIV_OBI": [ "OKC_EDIT_CONTRACT_PRIV_OBI" ], "OKC_EDIT_CONTRACT_PRIV_OBI": [ "OKC_VIEW_CONTRACT_PRIV_OBI" ], "CRM_CUSTOMER_IMPORT_RWD": [ "CRM_CONTACT_IMPORT_RWD" ], "CRM_CONTACT_IMPORT_RWD": [ "CRM_CUSTOMER_IMPORT_RWD" ], "CRMAdmin": [ "CN_APPROVE_AND_MONITOR_INCENTIVE_COMPENSATION_PLAN_DOCUMENTS_PRIV_OBI" ], "CN_APPROVE_AND_MONITOR_INCENTIVE_COMPENSATION_PLAN_DOCUMENTS_PRIV_OBI": [ "CRMAdmin", "CN_ACCEPT_INCENTIVE_COMPENSATION_PLAN_DOCUMENT_PRIV_OBI" ], "CN_ACCEPT_INCENTIVE_COMPENSATION_PLAN_DOCUMENT_PRIV_OBI": [ "CN_APPROVE_AND_MONITOR_INCENTIVE_COMPENSATION_PLAN_DOCUMENTS_PRIV_OBI" ], "ORA_AP_PAYABLES_INVOICE_CREATION_DUTY": [ "ORA_AP_PAYABLES_INVOICE_APPROVAL_DUTY" ], "ORA_AP_PAYABLES_INVOICE_APPROVAL_DUTY": [ "ORA_AP_PAYABLES_INVOICE_CREATION_DUTY" ], "ORA_EXM_EXPENSE_ENTRY_DUTY_HCM": [ "ORA_EXM_EXPENSE_APPROVAL_DUTY_HCM" ], "ORA_EXM_EXPENSE_APPROVAL_DUTY_HCM": [ "ORA_EXM_EXPENSE_ENTRY_DUTY_HCM" ] } }