Updating the Expressions of an Axis

Updates the expressions of an axis in a report element of one of the following types:

  • Section
  • Table (HTable, VTable, XTable, and Form)
  • Visualization (charts)
Request

PUT <webiURL>/documents/{documentId}/reports/{reportId}/elements/{elementId}/axes/{axisId}/expressions

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 of a report
  • {axisId} is the axis identifier

Request body: the expressions to update.

Restriction You can update the expressions of standard tables only, otherwise the table formatting will be lost. This feature corresponds to the Assign Data contextual menu used to create tables in SAP BusinessObjects Web Intelligence.
Response

Response type: application/xml or application/json

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

Example

PUT <webiURL>/documents/16995/reports/1/elements/8/axes/0/expressions

Request body:

<expressions>
    <formula dataType="String">=[Resort]</formula>
    <formula dataType="Numeric">=[Revenue]</formula>
</expressions

Response:

<success>
    <message>The resource of type 'Axis' with identifier '0' has been successfully updated.</message>
    <id>0</id>
</success>