Adding a Custom Property to a Report Element

Adds a custom property to a report element.

Request

POST <webiURL>/documents/{documentId}/reports/{reportId}/elements/{elementId}/properties

Where:
  • {documentId} is the document identifier retrieved from the list of documents
  • {reportId} is the report identifier retrieved from the list of reports
  • {elementId} is the element identifier retrieved from the list of elements

Request body: the property to add.

Remember The property key must not be null or empty.
Response

Response type: application/xml or application/json

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

Example

POST <webiURL>/documents/1234/reports/1/elements/100/properties

Request body:

<property key='NEW_KEY'>MyKeyValue</property>

Response:

<success>
    <message>The resource of type 'Property' has been successfully created.</message>
    <id>NEW_KEY</id>
</success>