Getting the Details of a Custom Palette

Returns the color information of a custom palette attached to a Web Intelligence document.

Request

GET <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
Response

Response type: application/xml or application/json

Example

GET <webiURL>/documents/1234/palettes/f5d53881-6467-4572-a616-c20bc8d1a687

<palette>
    <id>f5d53881-6467-4572-a616-c20bc8d1a687</id>
    <name>custom palette 3</name>
    <colors>
        <color rgb="#5b5b5b" alpha="100"/>
        <color rgb="#d2d2d2" alpha="100"/>
        <color rgb="#efefef" alpha="100"/>
        <color rgb="#848484" alpha="100"/>
        <color rgb="#aeadae" alpha="100"/>
        <color rgb="#0f0f0f" alpha="100"/>
        <color rgb="#ffffff" alpha="100"/>
        <color rgb="#bfbfbf" alpha="100"/>
        <color rgb="#6f706f" alpha="100"/>
        <color rgb="#a4a4a4" alpha="100"/>
        ...
    </colors>
</palette>