Getting the Color Palettes

Gets the list of default color palettes. This does not return any custom palettes.

Request

GET <webiURL>/configuration/palettes

Response

Response type: application/xml or application/json

Response body: details of the available default palettes, where:

  • <palette name> contains the name of a default palette.
  • <color rgb="#xxxxxx" alpha="255"/> is the identifier of the available color, where #xxxxxx is the code.

Example

<palettes>
    <palette name="SAP Standard 2011">
        <color rgb="#008fd3" alpha="255"/>
        <color rgb="#99d101" alpha="255"/>
        ...
        <color rgb="#61209a" alpha="255"/>
    </palette>
    <palette name="spectrum">
        <color rgb="#748cb2" alpha="255"/>
        <color rgb="#9cc677" alpha="255"/>
        . . .
        <color rgb="#f5bcb4" alpha="255"/>
    </palette>
    . . .
    <palette name="black&amp;white">
        <color rgb="#5b5b5b" alpha="255"/>
        <color rgb="#d2d2d2" alpha="255"/>
        . . .
        <color rgb="#050505" alpha="255"/>
    </palette>
</palettes>