updateCustomTranslations

put

/ccadmin/v1/resources/{bundle}

Update Custom Translations. Update the custom translations for the specified resource bundle strings. Keys with blank values will be removed from the translations map

Request

Supported Media Types
Path Parameters
  • The name of the resource bundle to store the custom values against.
Body ()
Root Schema : updateCustomTranslations_request
Type: object
Show Source
Example:
PUT /ccadminui/v1/resources/ns.common
Nested Schema : custom
Type: array
Map of custom resource key/value pairs to update.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateCustomTranslations_response
Type: object
Show Source
Nested Schema : custom
Type: array
Updated map of custom resource key/value pairs
Show Source
Example Response (application/json)
{
    "custom":{
        "okText":"OK"
    },
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/resources/ns.common?custom=%5Bobject%20Object%5D"
        }
    ]
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |71008|If a key is missing or not specified| |71007|If an error occurs when trying to retrieve the custom translations| |71004|If the locale is not specified and cannot be determined| |71011|If an error occurs when removing a custom translation| |71010|If an error occurs when saving a custom translation|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top