Retrieve Lookups

get

/icsapis/v2/lookups

Retrieves a list of lookups.

Request

Supported Media Types
Query Parameters
  • Orders results by name or last updated time.
  • Filters results by lookup name and status. For name, both exact match and contains are supported. Values of status are CONFIGURED or LOCKED. Examples: {name : 'MyLookup', status : 'CONFIGURED'} {name : /MyLookup/, status : 'CONFIGURED'}

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : lookups
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : lookup
Type: object
Show Source
Nested Schema : columns
Type: array
Show Source

400 Response

Malformed parameters

500 Response

Server error

Examples

The following example shows how to retrieve details about lookups 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.

curl -X GET -u jstein:welcome1 -H "Accept:application/json" \
https://integration.us.oraclecloud.com/icsapis/v2/lookups

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "items": [
        {
            "columns": [
                "testa",
                "testb"
            ],
            "lastUpdated": "2017-01-01T21:53:54.817+0000",
            "lastUpdatedBy": "jstein",
            "links": [
                {
                    "href": "https://integrations.us.oraclecloud.com/icsapis/v2/lookups/testLookup",
                    "rel": "self"
                },
                {
                    "href": "integrations.us.oraclecloud.com/icsapis/v2/lookups/testLookup",
                    "rel": "canonical"
                }
            ],
            "lockedDVMFlag": false,
            "name": "testLookup",
            "rowCount": 1,
            "status": "CONFIGURED"
        }
    ],
    "links": [
        {
            "href": "integrations.us.oraclecloud.com/icsapis/v2/lookups/",
            "rel": "self"
        },
        {
            "href": "integrations.us.oraclecloud.com/icsapis/v2/lookups/",
            "rel": "canonical"
        }
    ],
    "totalResults": 1
}