Get All Global Dictionary Key Values

get

/rest/v16/globalDict

This operation returns all the global dictionary key values defined for a site.

Request

Query Parameters
  • Exclude links.
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • The requested page size, which limits the number of elements the collection should return at a maximum.
  • The offset of the page. By default the offset is 0, which means the first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by.
  • Criteria to filter the companies. By default no filtering is applied.
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

Global Dict Details
Body ()
Root Schema : Company Details
Type: object
Title: Company Details
Show Source
Nested Schema : globalDicts
Type: array
Show Source
Nested Schema : Global Dict Detail
Type: object
Title: Global Dict Detail
Show Source
Back to Top

Examples

The following example shows how to retrieve all the key value pairs stored in the global dictionary for a site by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/globalDict

Response Body Sample

{
  "items": [{
      "key": "Key1",
      "value": "ba8643c86eb3443db70bb21b80ef8ba6493fbfa551524bc8d815!-1499002922",
      "minTimeToLive": 1440,
      "dateModified": "2024-03-11T10:41:28.000Z",
      "dateAdded": "2024-03-11T10:41:28.000Z"
    }, {
      "key": "Key2",
      "value": "1c265a45ad7e4b1f91fe3b87561150fa4651bcbbcbfd50fe0378!-1499002922",
      "minTimeToLive": 1440,
      "dateModified": "2024-03-11T10:40:26.000Z",
      "dateAdded": "2024-03-11T10:40:26.000Z"
    }
  ],
  "offset": 0,
  "limit": 1000,
  "count": 2,
  "hasMore": false,
  "links": [{
      "rel": "canonical",
      "href": "https://sitename.oracle.com/rest/v16/globalDict"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/globalDict?offset=0&limit=1000"
    }
  ]
}
Back to Top