Searches for nodes in the viewpoint using supplied criteria

post

/epm/rest/v1/views/{viewId}/viewpoints/{viewpointId}/nodes/search

Request

Path Parameters
Body ()
Root Schema : NodeSearchCriteriaJson
Type: object
Show Source
Nested Schema : NodeSearchOptionsJson
Type: object
Show Source
Nested Schema : predicates
Type: array
Show Source
Nested Schema : NodeSearchPredicate
Type: object
Show Source
Back to Top

Response

Supported Media Types

202 Response

Accepted, search processing

400 Response

Invalid input
Back to Top

Examples

The following example shows how search for nodes in a viewpoint with a post request on the REST resource using cURL.

cURL Command

curl --user epm_cloud_user -X POST -H 'Content-Type: application/json' -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/91fab006-5185-478f-9d3c-c1b4548a0b10/viewpoints/cb579c5f-fcc3-4920-b975-3fb133cfbcdc/nodes/search

Example of Request Body

The following shows an example of the request body in JSON format.

{
    "predicates": [
        {
            "property": "name",
            "operator": "equals",
            "value": "No Account"
        },
        {
            "property": "description",
            "operator": "equals",
            "value": "No Account"
        }
    ],
    "options": {
        "limit": 200,
        "matchAllPredicates": false,
        "returnEachNodeInstance": true
    }
}

Example of Response Body

The following shows an example of the response body in JSON format. This creates an asynchronous request. Access the results link to retrieve the results.

{
    "links": [
        {
            "rel": "results",
            "href": "https://servername.fa.us2.oraclecloud.com/epm/ui-rest/v1/jobRuns/d7a3e4f9-197f-4100-bb19-005d54907001"
        }
    ]
}
Back to Top