Get Campaign Details
/access-governance/access-reviews/20250331/campaigns/{campaignId}
Request
-
campaignId(required): string
Unique Campaign identifier.
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
- application/json
200 Response
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
approvalWorkflow:
object InstanceWorkflow
The workflow of an approval process instance.
-
completionRule:
string
Allowed Values:
[ "APPROVE_ALL", "REVOKE_ALL" ]
The completion rule to apply during review expiry. -
creatorId:
string
Minimum Length:
1
Maximum Length:255
The ID of the campaign creator. -
criteria:
array criteria
Maximum Number of Items:
20
The selection criteria for the campaign. -
customReviewerId:
string
Minimum Length:
1
Maximum Length:255
User ID of the custom reviewer in the custom user workflow. -
customReviewerName:
string
Display name of the custom reviewer in the custom user workflow.
-
description:
string
The description of the campaign.
-
displayName(required):
string
Minimum Length:
1
Maximum Length:255
The campaign display name. -
frequency:
string
Allowed Values:
[ "ONE_TIME", "MONTHLY", "QUARTERLY", "HALF_YEARLY", "YEARLY" ]
The frequency of a recurring campaign. -
id(required):
string
The Unique Oracle ID (OCID) that is immutable on creation.
-
isRecurring:
boolean
Whether or not the campaign is recurring - if recurring, then the frequency and seriesRecurrences will also be provided.
-
justificationRule:
string
Allowed Values:
[ "REQUIRE_FOR_ALL", "REQUIRE_FOR_REVOKE", "OPTIONAL_FOR_ALL" ]
The justification rule for the campaign. -
messages:
array messages
Maximum Number of Items:
50
The list of messages. -
ownerEmail:
string
The campaign owner email.
-
ownerId:
string
Minimum Length:
1
Maximum Length:255
The campaign owner ID. -
ownerName:
string
The campaign owner name.
-
ownerUsername:
string
The username of campaign owner.
-
reviewLevels:
array reviewLevels
Maximum Number of Items:
20
The list of review level details. -
reviewProgress:
number(float)
The progress of the review.
-
reviewWorkflowId:
string
The review workflow ID associated with the reviewLevels.
-
scope:
string
Allowed Values:
[ "GOVERNANCE_SYSTEM", "CLOUD_PROVIDER", "AG" ]
The scope of the campaign. -
selectionReview:
object SelectionReview
The selection count summary for the campaign.
-
seriesRecurrences:
string(x-obmcs-recurring-time)
Maximum Length:
255
The recurrence rule which describes the schedule to run a recurring campaign. It is a RFC5545 formatted string. -
status(required):
string
Allowed Values:
[ "DRAFT", "SCHEDULED", "IN_PROGRESS", "READY_FOR_APPROVAL", "APPROVED", "TERMINATED", "SYSTEM_ABORTED" ]
The current state of the AgcsCampaign. -
submissionType:
string
Allowed Values:
[ "SAVE", "SUBMIT", "SUBMIT_NOW", "EWB_IDENTITY", "EWB_AC" ]
Submission type of this action. -
timeCreated(required):
string(date-time)
The time the the AgcsCampaign was created. An RFC3339 formatted datetime string.
-
timeDue:
string(date-time)
The time the the AgcsCampaign was created. An RFC3339 formatted datetime string.
-
timeSeriesStarted:
string(date-time)
The series start date of a recurring campaign. An RFC3339 formatted datetime string.
-
timeStarted:
string(date-time)
The time the the AgcsCampaign was created. An RFC3339 formatted datetime string.
-
type(required):
string
Allowed Values:
[ "ACCESS", "OWNERSHIP" ]
The type of the campaign (access or ownership). It will help UI to identify what to read in CampaignCriteria (criteriaValue or conditions).
object
-
displayName(required):
string
Minimum Length:
1
Maximum Length:100
The approval workflow name. -
stages(required):
array stages
Minimum Number of Items:
1
Maximum Number of Items:20
The approval workflow stages.
array
20
-
Array of:
object CampaignCriteria
The criteria filter.
array
50
-
Array of:
object Message
Information about an event.
array
20
-
Array of:
object ReviewLevelDetails
The details of a review level.
object
-
accessGuardrailTally(required):
object Tally
the tally.
-
approvalWorkflowTally(required):
object Tally
the tally.
-
entitlementTally(required):
object Tally
the tally.
-
identityCollectionTally(required):
object Tally
the tally.
-
identityTally(required):
object Tally
the tally.
-
policyTally(required):
object Tally
the tally.
-
resourceTally(required):
object Tally
the tally.
-
roleTally(required):
object Tally
the tally.
-
systemTally(required):
object Tally
the tally.
array
1
20
-
Array of:
object InstanceWorkflowStage
The approval process instance stage.
object
-
approvers(required):
array approvers
Minimum Number of Items:
1
Maximum Number of Items:20
The approvals required for the stage to complete. -
completedTasks:
integer(int64)
Completed review tasks.
-
id(required):
string
The stage id. Must be unique within the process.
-
operator(required):
string
Default Value:
ALL
Allowed Values:[ "ANY", "ALL" ]
The operator for the approval process stage. -
state:
string
Allowed Values:
[ "COMPLETED", "PENDING_APPROVAL" ]
The current state of the approval stage. Only one stage will be in 'PENDING_APPROVAL' state. -
totalTasks:
integer(int64)
Total review tasks.
array
1
20
-
Array of:
object InstanceWorkflowApprover
The approvals required within the stage.
object
-
description(required):
string
Minimum Length:
1
Maximum Length:100
A description of the approval. -
id(required):
string
The approver id. Must be unique within the stage.
-
isTemplateCompleted:
boolean
If the current template is completed.
-
pendingCount:
integer(int64)
Pending review tasks.
-
state:
string
Allowed Values:
[ "COMPLETED", "PENDING_APPROVAL" ]
The current state of the approval request for the approval type within the stage. -
templateDetails(required):
object TemplateInstance
Instance of an approval template.
object
-
id(required):
string
Minimum Length:
1
Maximum Length:255
The approval template name, must be unique. -
name:
string
Minimum Length:
1
Maximum Length:255
The approval template name. -
parameterValues:
array parameterValues
List of approval template parameter values.
array
-
Array of:
object TemplateParamTuple
Value(s) for the template parameter identified by id.
object
-
description:
string
Minimum Length:
1
Maximum Length:255
Description of the template parameter id. -
id(required):
string
Minimum Length:
1
Maximum Length:255
The template parameter id. Unique within the template parameter list.
object
-
conditions:
array conditions
Maximum Number of Items:
100
Filter condition (these conditions have an AND binding between them). -
criteriaValue:
array criteriaValue
Maximum Number of Items:
500
The list of values of the criteria. -
type(required):
string
Allowed Values:
[ "ORGANIZATION", "JOB_CODE", "IDENTITY_LOCATION", "RESOURCE", "RESOURCE_LOCATION", "ENTITLEMENT", "ROLE", "DOMAIN", "COMPARTMENT", "CLOUD_PROVIDER", "POLICY", "POLICY_CREATED", "CUSTOM_ATTRIBUTE", "CUSTOM_ATTRIBUTE_VALUE", "IDENTITY_COLLECTION", "IC_CREATED", "TARGET_IDENTITY", "TARGET", "GLOBAL_IDENTITY", "AM_WORKFLOW", "NOT_REVIEWED_SINCE", "ACCESS_GUARDRAIL" ]
The type of the criteria.
array
100
-
Array of:
object Condition
The information about Condition.
array
500
-
Array of:
object CriteriaValue
The criteria value.
object
-
additionalAttributes:
object additionalAttributes
Additional Properties Allowed: additionalPropertiesAdditional attributes for additional information related to the condition.
-
basicCondition(required):
object BasicCondition
The information about Condition.
-
childConditions:
object BasicConditionCollection
Collection of conditions.
-
type(required):
string
Allowed Values:
[ "IDENTITY_ATTRIBUTE", "PERMISSION", "DOES_NOT_HAVE_PERMISSION" ]
The type for AG Resource.
object
object
-
dataType:
string
Allowed Values:
[ "STRING", "NUMBER", "BOOLEAN", "DATE" ]
Data type for the condition Identifier -
displayName(required):
string
Minimum Length:
1
Maximum Length:255
Access Guardrails Identifier -
lhs(required):
string
Minimum Length:
1
Maximum Length:512
Left hand side of the condition. -
operator(required):
string
Allowed Values:
[ "EQ", "NE", "GT", "LT", "GTE", "LTE", "BEFORE", "AFTER", "TILL", "FROM", "BETWEEN", "NOT_BETWEEN", "IN", "NOT_IN", "CONTAINS", "NOT_CONTAINS", "BEGINS_WITH", "NOT_BEGINS_WITH", "ENDS_WITH", "NOT_ENDS_WITH", "IS_NULL", "IS_NOT_NULL", "EQUAL_WITH_NULL" ]
The operator for a access guardrail. -
rhs(required):
array rhs
Right hand side of the condition.
-
rhsUiDetails:
array rhsUiDetails
Right hand side details of the condition.
object
-
items(required):
array items
List of condition.
array
-
Array of:
object UiDetail
Ui detail for rendering values on UI
object
-
name(required):
string
Name of value
-
value(required):
string
Value
array
-
Array of:
object BasicCondition
The information about Condition.
object
-
id:
string
The ID of the value.
-
name(required):
string
The name of the value.
-
subCriteria:
array subCriteria
Maximum Number of Items:
500
The list of values of the Campaign criteria.
array
500
-
Array of:
object CampaignCriteria
The criteria filter.
object
-
code:
string
The message code.
-
dateCreated:
string
The unix timestamp of when the message was created.
-
message:
string
The message.
object
-
durationDays:
integer
Minimum Value:
1
Maximum Value:30
The duration days for the review level. -
level(required):
integer
The level for this review.
-
notificationRecipient:
string
Allowed Values:
[ "REVIEWER", "REVIEWER_AND_MANAGER" ]
The first notification recipient. -
reminderFrequencyDays:
integer
Minimum Value:
0
Maximum Value:29
the reminder frequency in days. -
reminderRecipient:
string
Allowed Values:
[ "REVIEWER", "REVIEWER_AND_MANAGER" ]
The reminder notification recipient. -
reviewerAttributes:
array reviewerAttributes
Maximum Number of Items:
20
The list of reviewer attributes (only when reviewerType is CUSTOM_OWNER or CLOUD_REVIEWER). -
reviewerType:
string
Allowed Values:
[ "CUSTOM_OWNER", "OWNER", "USER", "USER_MANAGER", "CLOUD_REVIEWER", "APPROVAL_SYSTEM", "REQUESTOR", "BENEFICIARY", "BENEFICIARY_MANAGER", "CUSTOM_USER", "GROUP", "MANAGER_CHAIN", "SYSTEM", "NO_APPROVAL" ]
The reviewer type for the level.
array
20
-
Array of:
object ReviewerAttribute
The attributes of the reviewer.
object
-
reviewerEmail:
string
The email of the reviewer.
-
reviewerId:
string
The ID of the reviewer.
-
reviewerIdType:
string
Allowed Values:
[ "USER" ]
The type of the ID. -
reviewerName:
string
The name of the reviewer.
-
type(required):
string
Allowed Values:
[ "APPLICATION_OWNER", "ROLE_OWNER", "ENTITLEMENT_OWNER", "CLOUD_RESOURCE_OWNER" ]
The type of reviewer.
object
-
matchedCount(required):
integer
The count of items that matched the criteria.
-
totalCount(required):
integer
The total number of items.
400 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
401 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
404 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
429 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
Default Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
Examples
The following example shows how to retrieve a details for a specific campaign using campaign ID. Replace placeholder values with actual values before running the sample command.
cURL Example - Without Query Parameters
curl -i -X GET \
-H "Authorization:Bearer <your access token>" \
'${service-instance-url}/access-governance/access-reviews/${version}/campaigns/${campaignID}'
Example of the Response Body
The following example shows the contents of the response body in JSON format:
This JSON response represents an access review campaign titled Quarterly Access Audit - Q2 2025. The review assesses permissions assigned to users. Bill Clark is the owner of the campaign, and Arthur Jones is responsible for approving requests under the Admin Workflow Hierarchy. The review is in progress, with pending approvals for designated users.
{
"id": "ocid1.agcscampaign.oc1.iad.amaaaaaapzw5rdxxxxxxxe3f6obzlpjoze7tito4cpm6nwe2hpga5vtm56yq",
"displayName": "Quarterly Access Audit - Q2 2025",
"type": "ACCESS",
"ownerId": "globalId.125123c3-eedc-4d6a-b6d4-6c0f6537bad2.55045.02xxxxbb4b201421b44aa046b3ceb16a",
"customReviewerId": null,
"customReviewerName": null,
"ownerName": "Bill Clark",
"ownerUsername": null,
"ownerEmail": "Bill.Clark@example.com",
"creatorId": "globalId.125123c3-eedc-4d6a-b6d4-6c0f6537bad2.18.02xxxxbb4b201421b44aa046b3ceb16a",
"reviewProgress": null,
"scope": "AG",
"status": "IN_PROGRESS",
"timeStarted": "2025-06-02T06:52:25.684Z",
"timeDue": "2025-06-07T06:52:25.684Z",
"timeCreated": "2025-06-02T11:11:14.611Z",
"criteria": [
{
"type": "ENTITLEMENT",
"criteriaValue": [
{
"id": "3xxxxx50-2c5b-436d-beca-dc4e225389d3",
"name": "BI-ReporterAdmin",
"subCriteria": null
}
],
"conditions": null
}
],
"reviewWorkflowId": "Guid_xxx6855b-f6b0-46a4-b808-a7c0016d601e",
"approvalWorkflow": {
"displayName": "Admin Workflow Hierarchy",
"stages": [
{
"id": "10xx",
"operator": "ALL",
"approvers": [
{
"id": "AG_xxx",
"description": "Arthur Jones",
"state": "PENDING_APPROVAL",
"pendingCount": 1
}
],
"state": "PENDING_APPROVAL",
"totalTasks": 1,
"completedTasks": 0
}
]
}
}