Find by ID

get

/km/api/v1/dataLists/{id}

This method returns the DataList object having the specified ID parameter.

Request

Path Parameters
  • The unique identifier of the object to be retrieved.
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : DataList
Match All
Show Source
Nested Schema : DataListData
Match All
Show Source
Nested Schema : DataListKey
Match All
Show Source
Nested Schema : Singular Resource
Type: object
Title: Singular Resource
Oracle base singular resource schema definition.
Show Source
Nested Schema : DataListKey-allOf[1]
Type: object
Show Source
Nested Schema : DataListData-allOf[1]
Type: object
Show Source
Nested Schema : DataList-allOf[1]
Type: object
Show Source
Nested Schema : ContentTypeKey
Match All
Show Source
Nested Schema : dataListFilters
Type: array
To Many Relationship to DataListFilter
Show Source
Nested Schema : dataListItems
Type: array
To Many Relationship to DataListItem
Show Source
Nested Schema : ContentTypeKey-allOf[1]
Type: object
Show Source
  • The description for the ContentType object. Content Types support multiple languages.

    This field identifies the object associated with the language specified by the user.

  • The name for the ContentType object. The name field can only be used for sorting.

    Content Types support multiple languages. This field identifies the object associated with the language specified by the user.

  • The unique identifier of the ContentType object.

  • The reference key for the ContentType object.

    ContentType objects support multiple languages. This field can be used to identify the associated objects for all languages.

Nested Schema : DataListFilterKey
Match All
Show Source
Nested Schema : DataListFilterKey-allOf[1]
Type: object
Show Source
Nested Schema : DataListItemKey
Match All
Show Source
Nested Schema : DataListItemKey-allOf[1]
Type: object
Show Source
Back to Top

Examples

The following example shows how to find the Data List object having the specified ID parameter by submitting a get request on the REST resource using cURL.

cURL Command

curl -X "GET" "http://<IM_REST_API_HOST>/km/api/latest/dataLists/{id}"

Example of Request Header

The following shows an example of the request header.

-H "kmauthtoken: {\"siteName\":\"ORACLE_KNOWLEDGE\",\"integrationUserToken\":\"\"+eCJYkxKwj5HUaIiJYun0/TpatwT1LmtcsF05W33xnEojifV/AsLDj9RpN0lKuorTMNKeSE1tgC7svVL+BzntqDON4KiM1HFlpxvXEUCB0P2w0Xrs75McygqxdVaDSE9"}" \
-H "Accept: application/json"

Example of Response Body

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

{
  "contentType" : {
    "referenceKey" : "REFERENCEKEY_VALUE",
    "name" : "NAME_VALUE",
    "links" : [ {
      "rel" : "canonical",
      "href" : "http://<IM_REST_API_HOST>/km/api/{version}/{resourceURI}",
      "mediaType" : "application/json, application/xml",
      "templated" : true,
      "method" : "GET",
      "profile" : "http://<IM_REST_API_HOST>/km/api/{version}/metadata-catalog/{resourceName}"
    } ]
  },
  "dataListFilters" : [ {
    "links" : [ {
      "rel" : "canonical",
      "href" : "http://<IM_REST_API_HOST>/km/api/{version}/{resourceURI}",
      "mediaType" : "application/json, application/xml",
      "templated" : true,
      "method" : "GET"
    } ]
  } ],
  "dataListItems" : [ {
    "links" : [ {
      "rel" : "canonical",
      "href" : "http://<IM_REST_API_HOST>/km/api/{version}/{resourceURI}",
      "mediaType" : "application/json, application/xml",
      "templated" : true,
      "method" : "GET"
    } ]
  } ],
  "referenceKey" : "REFERENCEKEY_VALUE",
  "links" : [ {
    "rel" : "canonical",
    "href" : "http://<IM_REST_API_HOST>/km/api/{version}/{resourceURI}",
    "mediaType" : "application/json, application/xml",
    "templated" : true,
    "method" : "GET",
    "profile" : "http://<IM_REST_API_HOST>/km/api/{version}/metadata-catalog/{resourceName}"
  } ],
  "dateAdded" : "2013-04-23T21:06:22EDT",
  "dateModified" : "2013-04-23T21:06:22EDT",
  "defaultValue" : "DEFAULTVALUE_VALUE",
  "defaultValueOperator" : -1926441397,
  "defaultValueSource" : "DEFAULTVALUESOURCE_VALUE",
  "displaySource" : "DISPLAYSOURCE_VALUE",
  "name" : "NAME_VALUE",
  "sortValueSource" : "SORTVALUESOURCE_VALUE",
  "staticSort" : true,
  "useContentGuid" : true,
  "useOrFilter" : "USEORFILTER_VALUE",
  "valueSource" : "VALUESOURCE_VALUE"
}
Back to Top