Retrieve a Project Business Policy
get
/ic/api/integration/v1/projects/{projectId}/mcp/policies/business/{id}
Retrieves a project business policy, including its scope and configuration.
Request
Path Parameters
-
id(required): string
Resource code, optionally followed by |01.00.0000. Omitted versions default to 01.00.0000; other versions are rejected.Example:
BUSINESS_POLICY -
projectId(required): string
Project identifierExample:
MCP_PROJECT
Query Parameters
-
expand: string
Accepted but ignored for this single-policy operation; the policy details are returned independently of this parameter.
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.Example:
example-instance
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/vnd.oracle.model+json;type=singular
- application/json; charset=utf-8
200 Response
Successful operation
Root Schema : schema
Type:
objectMCP policy details, including scope and type-specific configuration.
Show Source
-
code: string
Resource code.
-
config: object
config
Additional Properties Allowed:
truePolicy-type-specific configuration. Its required fields depend on the policy type. -
created: string
(date-time)
Time the resource was created.
-
createdBy: string
User who created the resource.
-
description: string
Description of the resource.
-
iconclass: string
Icon CSS class for displaying this policy or template.
-
id: string
Resource identifier.
-
lastUpdated: string
(date-time)
Time the resource was last updated.
-
lastUpdatedBy: string
User who last updated the resource.
-
links: array
links
Links to related resources.
-
name: string
Display name of the resource.
-
policyType: string
Policy type identifier.
-
processingTime: number
(float)
Server-reported processing time.
-
projectCode: string
Optional project code accepted on create or update. It must match the project in the request path; if omitted, the current project is used.
-
projectId: string
Project identifier.
-
projectName: string
Project display name.
-
scope:
scope
Resource scope to which the MCP policy applies.
-
status: string
Allowed Values:
[ "INPROGRESS", "CONFIGURED" ]Current resource state. -
version: string
Resource version. The release accepts only 01.00.0000 on writes and uses it when the version is omitted.
Nested Schema : config
Type:
objectAdditional Properties Allowed:
truePolicy-type-specific configuration. Its required fields depend on the policy type.
Nested Schema : links
Type:
arrayLinks to related resources.
Show Source
-
Array of:
object MCP2610_Link
A link to a related REST resource.
Nested Schema : scope
Resource scope to which the MCP policy applies.
Match All
Resource scope to which the MCP policy applies.
Show Source
-
object
PolicyScopeRs
Resource scope to which the MCP policy applies.
Nested Schema : MCP2610_Link
Type:
objectA link to a related REST resource.
Show Source
-
href: string
URL of the linked resource.
-
mediaType: string
Media type of the linked resource.
-
rel: string
Relationship of the linked resource.
Nested Schema : PolicyScopeRs
Type:
objectResource scope to which the MCP policy applies.
Show Source
-
code: string
Resource code.
-
level: string
Scope level.
-
version: string
Version of the referenced resource, defaulting to 01.00.0000 where a version is used.
400 Response
Malformed parameters
401 Response
Unauthorized or insufficient design-time permissions
404 Response
Project or resource not found, or the MCP feature is not available
500 Response
Server error
Examples
The following example shows how to retrieve a project business policy, including its scope and configuration, by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Retrieve a Project Business Policy
curl --request GET --include \
--url "${BASE_URL}/ic/api/integration/v1/projects/${PROJECT_ID}/mcp/policies/business/${BUSINESS_POLICY_ID}?integrationInstance=${INTEGRATION_INSTANCE}" \
--header "Authorization: Bearer ${ACCESS_TOKEN}" \
--header "Accept: application/json"