Retrieve a Lookup

get

/icsapis/v2/lookups/{name}

Retrieves a lookup by ID.

Request

Supported Media Types
Path Parameters

Response

Supported Media Types

200 Response

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

404 Response

Not found

500 Response

Server error

Examples

The following example shows how to retrieve details about a lookup 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 -k -v -X GET -u userid:password -H Accept:application/json https://integration.us.oraclecloud.com/icsapis/v2/lookups/Country

Example of Response Body

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

                   {
                       "columns": [
                         "osc",
                         "rightnow"
                       ],
                       "description": "Add Description",
                       "lastUpdated": "2017-01-11T13:54:05.100+0000",
                       "lastUpdatedBy": "jstein",
                       "links": [
                         {
                           "href": "https://integrations.us.oraclecloud.com/icsapis/v2/lookups/Country",
                           "rel": "self"
                         },
                         {
                           "href": "https://integrations.us.oraclecloud.com/icsapis/v2/lookups/Country",
                           "rel": "canonical"
                         }
                       ],
                       "lockedDVMFlag": false,
                       "name": "Country",
                       "rowCount": 2,
                       "status": "CONFIGURED"
                     }

                  {
                     "columns":    [
                        "D1",
                        "D2"
                     ],
                     "lastUpdated": "2016-12-18T15:50:26.964+0000",
                     "lastUpdatedBy": "jstein",
                     "links":    [
                              {
                           "href": "https://integrations.us.oraclecloud.com/icsapis/v2/lookups/Country",
                           "rel": "self"
                        },
                              {
                           "href": "https://integrations.us.oraclecloud.com/icsapis/v2/lookups/Country",
                           "rel": "canonical"
                        }
                     ],
                     "lockedDVMFlag": false,
                     "name": "Country",
                     "rowCount": 2,
                     "status": "CONFIGURED"
                  }