Updating the Definition of a Custom Palette

Updates the name and color definitions of a custom palette attached to a Web Intelligence document.

Request

PUT <webiURL>/documents/{documentId}/palettes/{paletteId}

Where:
  • {documentId} is the document identifier retrieved from the list of documents
  • {paletteId} is the custom palette identifier retrieved from the list of palettes

Request body:

<palette>
   <name>
   <color>
Response

Response type: application/xml or application/json

The response is a message stating the success or failure of the request.

Example

PUT <webiURL>/documents/1234/palettes/ff6079a2-df7f-4df6-8278-9c5dd6246b2e

<success>
    <message>The resource of type "Palette" with identifier "ff6079a2-df7f-4df6-8278-9c5dd6246b2e" has been successfully updated.</message>
    <id>ff6079a2-df7f-4df6-8278-9c5dd6246b2e</id>
</success>