Update localization in a report
Insert the translator's language worksheet into an existing report and save the report. This saves the human translator's strings for the specified locale so that the report can be generated later in the locale's language. This action returns no content.
Name | Type | Required | Description |
---|---|---|---|
reportId | string | true | The report from which the original report should be read. |
translationLocale | string | true | The locale for which the translation should be extracted. |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | false | The etag identifier from the last GET of the report. |
The body of the request is the translation worksheet.
Prior to version 2, this was not an object. Instead, it was serialized as lines of user-editable plain text. When serialized as text, the first line is the locale indicator, and the subsequent lines have the form proprietary path identifiers = translatable text
.
Name | Type | Required | Description |
---|---|---|---|
locale | string | false | A valid IETF language tag. |
lines | array [string] | false | Individual lines with translatable strings. Each line has a substructure of |
links | array [Link] | false | Link objects, as described in SAS standards documentation. |
version | integer | false | Standard field. This media type's schema version number. This representation is version 1. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | See code 204. This is a departure from a typical PUT, which would return the modified object, but in this case, returning the modified report is undesirable. | Headers | |
204 | No Content | Worksheet was inserted into the report. No content returned. | Headers | |
400 | Bad Request | The request was invalid. | Headers | Schema |
412 | Precondition Failed | The header If-Match Etag value did not match. | Headers | Schema |
428 | Precondition Required | The precondition header If-Match was not provided. | Headers | Schema |