Getting Custom Formats for Numbers

Usage

Gets a list of the custom format numbers defined in a document.

Request

GET /documents/<documentID>/formats

Response

Response type: application/xml or application/json

Response body: description of the custom formats used in the Web Intelligence document.

Example

GET /documents/4326/formats

<formats>
    <format type="Custom" sample="1,235">
        <template positive="#,##0" negative="[red]#,##0" zero="No value" undefined="NaN"></template>	
    </format>
</formats>

In this example, negative numbers are in red.