Validate conditional put operations
Pre-flight validation of the PUT operation, which would update the internal localization strings of an existing report. Always returns HTTP response 200 unless a server error prevents the actual validation logic from being executed.
1en_US vi6.Section.label = Page 1 ve20.Graph.label = Bar - dealer 1 ve29.Graph.label = Scatter - returns 1 bi10.DataItem_CARS_dealer.label = dealer bi13.DataItem_CARS_returns.label = returns bi14.DataItem_CARS_sales.label = sales bi17.SourcePredefinedDataItem_CARS.label = Frequency
Name | Type | Required | Description |
---|---|---|---|
reportId | string | true | The id of the report that would have its localization be updated by the PUT operation. |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | true | ETag identifier from last GET of the report. |
The body of the request is a string 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 | Except for unusual server problems, this will always be returned. However, the validation will contain information about errors that would happen if the PUT were actually called, as shown by the additional errors. | Headers | Schema |
400 | Bad Request | The request was invalid. Some error in the request resulted in failure to perform the action. See the error codes table for further details. | Headers | Schema |
412 | Precondition Failed | The header If-Match Etag value does not match. | Headers | Schema |
428 | Precondition Required | The If-Match head ETag did not match current report. | Headers | Schema |