Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

Add/change image in WebI document using RESTful Web Services

$
0
0

Hi everyone!

 

Is it possible to add or change image in WebI document using RESTful Web Services?

 

I tried to create new cell in header with background image by following request:

POST .../biprws/raylight/v1/documents/176592/reports/1/elements/

 

Payload:

<element type="Cell">

<id>14</id>

<reference>1.E</reference>

<name>Cell 2</name>

<parentId>1</parentId>

<size autofitHeight="false" autofitWidth="false" minimalHeight="1875.0" minimalWidth="5625.0" />

<position newVerticalPage="false" oneVerticalPage="false" repeatOnEveryVerticalPage="false" newHorizontalPage="false" oneHorizontalPage="false" verticalAnchorType="None" horizontalAnchorType="None" y="0.0" x="363.0" />

<hide whenEmpty="false" always="false" />

<padding bottom="144.0" top="144.0" right="216.0" left="216.0" />

<style>

<background>

<image display="Normal" src="bores://00003">

<alignment vertical="Top" horizontal="Left" />

</image>

</background>

<font face="Arial" size="12" rgb="#333333" underline="false" strikethrough="false" bold="true" italic="false" />

<alignment wrapText="false" vertical="Center" horizontal="Auto" />

</style>

</element>

 

This request works successfully, but I've got Internal Server Error 500 when trying to save document changes. I face the same problem trying to change background image of existing cell.


Does anyone know how to solve this problem?


Regards,

Uladzislau


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>