Get All Global Dictionary Key Values
get
/rest/v19/globalDict
This operation returns all the global dictionary key values defined for a site.
Request
Query Parameters
-
excludeLinks: string
Exclude links.
-
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
limit: integer
The requested page size, which limits the number of elements the collection should return at a maximum.
-
offset: integer
The offset of the page. By default the offset is 0, which means the first page will be returned.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
q: string
Criteria to filter the companies. By default no filtering is applied.
-
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
Global Dict Details
Root Schema : Company Details
Type:
objectTitle:
Show Source
Company Details-
count:
integer
Title:
countNumber of the global dict records. -
globalDicts:
array globalDicts
-
hasMore:
boolean
Title:
hasMoreHas records in other pages. -
limit:
integer
Title:
limitNumber of records per page. -
links:
object reference links
Title:
reference linksReference links for the Parent, Self, Children and Related as applicable -
offset:
integer
Title:
offsetThe offset of the page.
Nested Schema : globalDicts
Type:
Show Source
array-
Array of:
object Global Dict Detail
Title:
Global Dict Detail
Nested Schema : reference links
Type:
objectTitle:
reference linksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current objectDefault Value:selfLink Relationship to the current object
Nested Schema : Global Dict Detail
Type:
objectTitle:
Show Source
Global Dict Detail-
dateAdded:
string
Title:
Date CreatedCreation Date. -
dateModified:
string
Title:
Date Last ModifiedDate last modified. -
key:
string
Title:
KeyName of the key. -
links:
object reference links
Title:
reference linksReference links for the Parent, Self, Children and Related as applicable -
minTimeTolive:
integer
Title:
Minimum time to liveThe minimum time, in minutes, the key-value pair is guaranteed to exist in the global dictionary. -
value:
string
Title:
ValueValue associated with the key
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 -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/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/v19/globalDict"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/globalDict?offset=0&limit=1000"
}
]
}