Updates a style of a Web Intelligence document.
PUT /documents/<documentID>/styles/<styleID>?unit=<unit>
Request body:
<style> <id> <parentId> <border> <background> <font> <alignment>
Response type: application/xml or application/json
The response is a message stating the success or failure of the request.
PUT /documents/5022/styles/24
<style> <id>3</id> <parentId>58</parentId> <border> <top thickness="thin" rgb="#cacad9" style="plain"/> <bottom thickness="thin" rgb="#cacad9" style="plain"/> <left thickness="thin" rgb="#cacad9" style="plain"/> <right thickness="thin" rgb="#cacad9" style="plain"/> </border> <background> <color rgb="#5175b9"/> </background> <font size="9" face="Arial" italic="false" bold="true" strikethrough="false" underline="false" rgb="#ffffff"/> <alignment horizontal="left" vertical="bottom"/> </style>
Response:
<success> <message>The resource of type "Style" with identifier "24" has been successfully updated.</message> <id>24</id> </success>