Get all policies
get
/epm/rest/v1/policies
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
403 Response
Forbidden
404 Response
Not Found
Examples
The following example shows how to retrieve all the policies by submitting a GET request on the REST resource using cURL.
curl --user edmcs_cloud_user -X GET https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies
Example of the Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "id": "b91e3c6a-8897-44a4-b3dc-7f8302fc3dff", "name": "Test MH 1", "description": "", "policyType": "APPROVAL", "policyLevel": "APPLICATION", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-07T15:26:39.228Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-07T16:18:19.041Z", "enabled": false, "valid": true, "processingType": "MANAGEMENT_HIERARCHY", "allInviteesMustApprove": false, "numberOfApprovalsRequired": 1, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": "FIXED", "fulfillmentLevels": 1, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/4bbce3be-cb0a-43c6-bde6-bda92244ab21/policies/b91e3c6a-8897-44a4-b3dc-7f8302fc3dff" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/b91e3c6a-8897-44a4-b3dc-7f8302fc3dff/updateEnabledFlag", "method": "POST" } ] }, { "id": "31367a8b-19a0-45f5-b7ef-a66fa78dffb7", "name": "Approval", "description": "Approval policy for test univ1", "policyType": "APPROVAL", "policyLevel": "APPLICATION", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-07T15:22:18.951Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-10T07:07:56.047Z", "enabled": false, "valid": true, "inviteeSummary": [ { "id": "45b96c8a-7e8a-4e24-8279-9f2b88118e29", "name": "Doug Cosby", "description": null }, { "id": "1ba600a7-1997-4784-9163-f46510533642", "name": "Barry Dylan", "description": null }, { "id": "0ec452de-1cfa-4a0e-87d0-376fffdb0351", "name": "Accounting", "description": "desc" } ], "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": false, "allowedActions": [ "DELETE_NODE", "ADD_NODE" ], "expression": { "statements": [ { "type": "return", "expression": { "type": "booleanLiteral", "value": true } } ] }, "propertyFilterConfigurationType": "INCLUDE", "configuredProperties": [ { "id": "1c5d0049-1058-49f9-9bec-3acfcfa53206", "name": "Alternate Name", "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/1c5d0049-1058-49f9-9bec-3acfcfa53206" } ] }, { "id": "7ac7af90-1f96-4f6c-97ff-1b1bbc18fbbc", "name": "Description", "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/7ac7af90-1f96-4f6c-97ff-1b1bbc18fbbc" } ] } ], "requestTypes": [ "INTERACTIVE", "CONSOLIDATION" ], "allowAllRequestTypes": false, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/4bbce3be-cb0a-43c6-bde6-bda92244ab21/policies/31367a8b-19a0-45f5-b7ef-a66fa78dffb7" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/31367a8b-19a0-45f5-b7ef-a66fa78dffb7/updateEnabledFlag", "method": "POST" } ] }, { "id": "9f8b8a42-e0bd-48fa-aa13-e40e0322e2ae", "name": "Approval", "description": "Approval policy for d1", "policyType": "APPROVAL", "policyLevel": "DIMENSION", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "dimension": { "id": "a52d15f1-96fc-4a61-a155-320b5f02bff8", "name": "d1", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-07T15:22:41.755Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-07T15:22:41.755Z", "enabled": false, "valid": true, "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/dimensions/a52d15f1-96fc-4a61-a155-320b5f02bff8/policies/9f8b8a42-e0bd-48fa-aa13-e40e0322e2ae" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/9f8b8a42-e0bd-48fa-aa13-e40e0322e2ae/updateEnabledFlag", "method": "POST" } ] }, { "id": "83d53d76-6ba3-4472-8102-cf586c23363f", "name": "Approval", "description": "Approval policy for HS_name_desc_altname", "policyType": "APPROVAL", "policyLevel": "HIERARCHY_SET", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "dimension": { "id": "a52d15f1-96fc-4a61-a155-320b5f02bff8", "name": "d1", "description": "" }, "hierarchySet": { "id": "7eb78ee1-4692-4a2d-a62c-47ac667f5b71", "name": "HS_name_desc_altname", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-08T11:57:44.752Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-08T11:57:44.752Z", "enabled": false, "valid": true, "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/hierarchySets/7eb78ee1-4692-4a2d-a62c-47ac667f5b71/policies/83d53d76-6ba3-4472-8102-cf586c23363f" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/83d53d76-6ba3-4472-8102-cf586c23363f/updateEnabledFlag", "method": "POST" } ] }, { "id": "acda8d86-74ca-4e7a-9189-1667c0fdeb81", "name": "Approval", "description": "Approval policy for d1", "policyType": "APPROVAL", "policyLevel": "HIERARCHY_SET", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "dimension": { "id": "a52d15f1-96fc-4a61-a155-320b5f02bff8", "name": "d1", "description": "" }, "hierarchySet": { "id": "99c6d975-01b6-4d82-9f9a-051101fb3b5d", "name": "d1", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-07T15:22:41.755Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-07T15:22:41.755Z", "enabled": false, "valid": true, "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/hierarchySets/99c6d975-01b6-4d82-9f9a-051101fb3b5d/policies/acda8d86-74ca-4e7a-9189-1667c0fdeb81" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/acda8d86-74ca-4e7a-9189-1667c0fdeb81/updateEnabledFlag", "method": "POST" } ] }, { "id": "3d96377e-f8ea-4eee-8642-1d09b8fb0298", "name": "Approval", "description": "Approval policy for name_desc", "policyType": "APPROVAL", "policyLevel": "NODE_TYPE", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "dimension": { "id": "a52d15f1-96fc-4a61-a155-320b5f02bff8", "name": "d1", "description": "" }, "nodeType": { "id": "32307560-d7d1-4d85-a279-0f07834e4971", "name": "name_desc", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-08T11:50:21.405Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-08T11:50:21.405Z", "enabled": false, "valid": true, "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/nodeTypes/32307560-d7d1-4d85-a279-0f07834e4971/policies/3d96377e-f8ea-4eee-8642-1d09b8fb0298" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/3d96377e-f8ea-4eee-8642-1d09b8fb0298/updateEnabledFlag", "method": "POST" } ] }, { "id": "02ffd79e-1cf6-4520-947f-ed1da49a15c7", "name": "Approval", "description": "Approval policy for n1", "policyType": "APPROVAL", "policyLevel": "NODE_TYPE", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "dimension": { "id": "a52d15f1-96fc-4a61-a155-320b5f02bff8", "name": "d1", "description": "" }, "nodeType": { "id": "48f2d603-6f03-44c5-b2f4-51f6e8a75499", "name": "n1", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-07T15:22:41.755Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-09T17:01:28.383Z", "enabled": true, "valid": true, "inviteeSummary": [ { "id": "0ec452de-1cfa-4a0e-87d0-376fffdb0351", "name": "Accounting", "description": "desc" } ], "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/nodeTypes/48f2d603-6f03-44c5-b2f4-51f6e8a75499/policies/02ffd79e-1cf6-4520-947f-ed1da49a15c7" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/02ffd79e-1cf6-4520-947f-ed1da49a15c7/updateEnabledFlag", "method": "POST" } ] }, { "id": "5fc2dac4-f608-463a-b02d-5ede7df095e3", "name": "Approval", "description": "Approval policy for name_altname", "policyType": "APPROVAL", "policyLevel": "NODE_TYPE", "application": { "id": "4bbce3be-cb0a-43c6-bde6-bda92244ab21", "name": "test univ1", "description": "" }, "dimension": { "id": "a52d15f1-96fc-4a61-a155-320b5f02bff8", "name": "d1", "description": "" }, "nodeType": { "id": "cf296128-c6e2-4f1d-91e1-3a07b5863820", "name": "name_altname", "description": "" }, "createdBy": "Doug Cosby", "timeCreated": "2024-10-08T11:52:53.821Z", "modifiedBy": "Doug Cosby", "timeModified": "2024-10-08T11:52:53.821Z", "enabled": false, "valid": true, "processingType": "PARALLEL", "allInviteesMustApprove": true, "numberOfApprovalsRequired": 0, "submitterAutoApproves": false, "reminderNotification": 0, "approvalEscalation": 0, "daysUntilOverdue": 0, "allowEnrichment": false, "policyOrder": 1, "ownershipPropertyId": null, "managementHierarchyNodeSet": null, "fulfillmentType": null, "fulfillmentLevels": 0, "fulfillmentExpression": null, "allowAllActions": true, "allowedActions": [], "propertyFilterConfigurationType": "ALL", "configuredProperties": [], "requestTypes": [], "allowAllRequestTypes": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/nodeTypes/cf296128-c6e2-4f1d-91e1-3a07b5863820/policies/5fc2dac4-f608-463a-b02d-5ede7df095e3" }, { "rel": "updateEnabledFlag", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies/5fc2dac4-f608-463a-b02d-5ede7df095e3/updateEnabledFlag", "method": "POST" } ] } ], "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/policies" } ], "hasMore": false, "totalResults": 8, "limit": 0, "count": 8 }