Get Campaign Details

get

/access-governance/access-reviews/20250331/campaigns/{campaignId}

Gets the details of an existing campaign.

Request

Path Parameters
Header Parameters
  • The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

The details of a campaign.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Campaign
Type: object
Summary of the AgcsCampaign.
Show Source
Nested Schema : InstanceWorkflow
Type: object
The workflow of an approval process instance.
Show Source
Nested Schema : criteria
Type: array
Maximum Number of Items: 20
The selection criteria for the campaign.
Show Source
Nested Schema : messages
Type: array
Maximum Number of Items: 50
The list of messages.
Show Source
Nested Schema : reviewLevels
Type: array
Maximum Number of Items: 20
The list of review level details.
Show Source
Nested Schema : SelectionReview
Type: object
The selection count summary for the campaign.
Show Source
Nested Schema : stages
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 20
The approval workflow stages.
Show Source
Nested Schema : InstanceWorkflowStage
Type: object
The approval process instance stage.
Show Source
Nested Schema : approvers
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 20
The approvals required for the stage to complete.
Show Source
Nested Schema : InstanceWorkflowApprover
Type: object
The approvals required within the stage.
Show Source
Nested Schema : TemplateInstance
Type: object
Instance of an approval template.
Show Source
Nested Schema : parameterValues
Type: array
List of approval template parameter values.
Show Source
Nested Schema : TemplateParamTuple
Type: object
Value(s) for the template parameter identified by id.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    Description of the template parameter id.
  • Minimum Length: 1
    Maximum Length: 255
    The template parameter id. Unique within the template parameter list.
Nested Schema : CampaignCriteria
Type: object
The criteria filter.
Show Source
  • conditions
    Maximum Number of Items: 100
    Filter condition (these conditions have an AND binding between them).
  • criteriaValue
    Maximum Number of Items: 500
    The list of values of the criteria.
  • 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.
Nested Schema : conditions
Type: array
Maximum Number of Items: 100
Filter condition (these conditions have an AND binding between them).
Show Source
Nested Schema : criteriaValue
Type: array
Maximum Number of Items: 500
The list of values of the criteria.
Show Source
Nested Schema : Condition
Type: object
The information about Condition.
Show Source
Nested Schema : additionalAttributes
Type: object
Additional Properties Allowed
Show Source
Additional attributes for additional information related to the condition.
Nested Schema : BasicCondition
Type: object
The information about Condition.
Show Source
  • Allowed Values: [ "STRING", "NUMBER", "BOOLEAN", "DATE" ]
    Data type for the condition Identifier
  • Minimum Length: 1
    Maximum Length: 255
    Access Guardrails Identifier
  • Minimum Length: 1
    Maximum Length: 512
    Left hand side of the condition.
  • 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
    Right hand side of the condition.
  • rhsUiDetails
    Right hand side details of the condition.
Nested Schema : BasicConditionCollection
Type: object
Collection of conditions.
Show Source
Nested Schema : rhs
Type: array
Right hand side of the condition.
Show Source
Nested Schema : rhsUiDetails
Type: array
Right hand side details of the condition.
Show Source
Nested Schema : UiDetail
Type: object
Ui detail for rendering values on UI
Show Source
Nested Schema : items
Type: array
List of condition.
Show Source
Nested Schema : CriteriaValue
Type: object
The criteria value.
Show Source
Nested Schema : subCriteria
Type: array
Maximum Number of Items: 500
The list of values of the Campaign criteria.
Show Source
Nested Schema : Message
Type: object
Information about an event.
Show Source
Nested Schema : ReviewLevelDetails
Type: object
The details of a review level.
Show Source
Nested Schema : reviewerAttributes
Type: array
Maximum Number of Items: 20
The list of reviewer attributes (only when reviewerType is CUSTOM_OWNER or CLOUD_REVIEWER).
Show Source
Nested Schema : ReviewerAttribute
Type: object
The attributes of the reviewer.
Show Source
Nested Schema : Tally
Type: object
the tally.
Show Source

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Back to Top

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
            }
        ]
    }
}
Back to Top