Add or Update Global Dictionary Key Values

post

/rest/v16/globalDict

Use this endpoint to add or update the global dictionary key values defined for the site.

Request

Supported Media Types
Header Parameters
  • Contains true or false value. If true, the server performs an Upsert operation instead of a Create operation.
Body ()
Root Schema : Create/Update Global Dict Detail
Type: object
Title: Create/Update Global Dict Detail
Show Source
Back to Top

Response

Supported Media Types

Default Response

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

Examples

The following example shows how to add or update the global dictionary key values defined for the site by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

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

Request Body Sample

{
  "key": "key1",
  "value": "1",
  "minTimeToLive": 2500
}
Back to Top