Gets the views

get

/epm/rest/v1/views

Returns a list of all the views the user has access to.

Request

Query Parameters
  • Collection Format: multi
    filters views by statuses and/or a dimension
    • Allowed Values: [ "objectStatus::{list of object statuses separated by comma(DRAFT", "ACTIVE", "ARCHIVED)}", "dimension::dimensionId" ]
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ItemsView
Type: object
Show Source
Nested Schema : items
Type: array
Read Only: true
Show Source
Nested Schema : View
Type: object
Show Source
Nested Schema : User
Type: object
Show Source
Nested Schema : permittedActions
Type: array
Unique Items Required: true
Show Source
  • Allowed Values: [ "CREATE_NODETYPE", "CREATE_HIERARCHYSET", "CREATE_NODESET", "CREATE_VIEWPOINT", "CREATE_REQUEST", "CREATE_PROPERTY", "ASSIGN_REQUEST", "SUBMIT_REQUEST", "PUSHBACK_REQUEST", "REJECT_REQUEST", "APPROVE_REQUEST", "ADD_REQUEST_COMMENT", "ADD_REQUEST_ATTACHMENT", "EDIT_REQUEST_HEADER", "VALIDATE", "EDIT_METADATA", "EDIT", "COPY_VIEWPOINT", "ARCHIVE", "DELETE", "IMPORT", "EXPORT", "MANAGE_GRANTS", "UPDATE_PROP", "DELETE_NODE", "ADD_NODE", "INSERT_NODE", "REORDER_NODE", "REMOVE_NODE", "MOVE_NODE" ]
Nested Schema : associatedRoles
Type: array
Show Source
Nested Schema : emailAddresses
Type: array
Show Source
Nested Schema : Preferences
Type: object
Show Source
Nested Schema : TimeZone
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve all the views 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/views

Example of the Response Body

The following example shows the contents of the response body in JSON format,including:

{
  "items": [
    {
      "id": "91fab006-5185-478f-9d3c-c1b4548a0b10",
      "name": "Corporate Planning (EPBCS)",
      "description": "Corporate Planning dimensions",
      "timeCreated": "2017-11-08T22:13:01.060Z",
      "timeModified": "2017-11-10T03:46:23.515Z",
      "createdBy": "demoadmin",
      "modifiedBy": "demoadmin",
      "master": false, 
      "objectStatus": "ACTIVE",
      "links": [
        {
          "rel": "self",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10"
        },
        {
          "rel": "viewpoints",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10/viewpoints"
        },
        {
          "rel": "create",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10/viewpoints",
          "method": "POST"
        },
        {
          "rel": "requests",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests?q=views%3A%3A91fab006-5185-478f-9d3c-c1b4548a0b10",
          "templated": true
        },
        {
          "rel": "createRequest",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests",
          "method": "POST"
        },
        {
          "rel": "delete",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10",
          "method": "DELETE"
        },
        {
          "rel": "edit",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10",
          "method": "PUT"
        },
        {
          "rel": "grants",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10/grants"
        }
      ],
      "permittedActions": [
        "CREATE_REQUEST",
        "ARCHIVE",
        "EDIT_METADATA",
        "CREATE_VIEWPOINT",
        "MANAGE_GRANTS",
        "DELETE"
      ]
    },
    {
      "id": "9f9d7689-44ce-4e0a-8f37-33ed54e703c4",
      "name": "Acquired GL (Legacy)",
      "description": "Acquired GL Chart of Accounts",
      "timeCreated": "2017-11-10T04:43:30.049Z",
      "timeModified": "2017-11-10T04:58:33.958Z",
      "createdBy": "Casey.Brown",
      "modifiedBy": "Casey.Brown",
      "master": false,
      "objectStatus": "ACTIVE",
      "links": [
        {
          "rel": "self",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/9f9d7689-44ce-4e0a-8f37-33ed54e703c4"
        },
        {
          "rel": "viewpoints",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/9f9d7689-44ce-4e0a-8f37-33ed54e703c4/viewpoints"
        },
        {
          "rel": "create",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/9f9d7689-44ce-4e0a-8f37-33ed54e703c4/viewpoints",
          "method": "POST"
        },
        {
          "rel": "requests",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests?q=views%3A%3A9f9d7689-44ce-4e0a-8f37-33ed54e703c4",
          "templated": true
        },
        {
          "rel": "createRequest",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests",
          "method": "POST"
        },
        {
          "rel": "delete",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/9f9d7689-44ce-4e0a-8f37-33ed54e703c4",
          "method": "DELETE"
        },
        {
          "rel": "edit",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/9f9d7689-44ce-4e0a-8f37-33ed54e703c4",
          "method": "PUT"
        },
        {
          "rel": "grants",
          "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/9f9d7689-44ce-4e0a-8f37-33ed54e703c4/grants"
        }
      ],
      "permittedActions": [
        "CREATE_REQUEST",
        "ARCHIVE",
        "EDIT_METADATA",
        "CREATE_VIEWPOINT",
        "MANAGE_GRANTS",
        "DELETE"
      ]
    }
  ]
}
Back to Top