Adds a custom palette to the current Web Intelligence document.
POST <webiURL>/documents/{documentId}/palettes
Where:
Request body:
<palette> <name> <colors> <color>
Response type: application/xml or application/json
The response is a message stating the success or failure of the request. An ID is assigned to the new custom palette.
POST <webiURL>/documents/1234/palettes
Request body:
<palette> <name>custom palette 2</name> <colors> <color rgb="#00ff00" alpha="50"/> <color rgb="#00fa00" alpha="50"/> </colors> </palette>
Response:
<success> <message>The resource of type "Palette" with identifier "ff6079a2-df7f-4df6-8278-9c5dd6246b2e" has been successfully created.</message> <id>ff6079a2-df7f-4df6-8278-9c5dd6246b2e</id> </success>