Editing a Link

Usage

Modifies a link of a Web Intelligence document.

Request

PUT /documents/<documentID>/links/<linkID>

Request body:

<link>
    <id> 
    <name>
    <description>
    <dataSourceObjectId>
    <formulaLanguageId>
    <linkedExpressions>
        <linkedExpression id="string"/>
Response

Response type: application/xml or application/json

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

Example

PUT /documents/3422/links/L2

Request body:

<link dataType="String" qualification="Dimension">  
    <id>L6</id>  
    <name>Year</name>  
    <description>Year 2003 - 2006.</description>  
    <dataSourceObjectId>DS0.DObc</dataSourceObjectId>  
    <formulaLanguageId>[Year]</formulaLanguageId>  
    <linkedExpressions>     
        <linkedExpression id="DP0.DObc"/>  
        <linkedExpression id="DP1.DObc"/>
    </linkedExpressions>
</link>

Response:

<success>
   <message>The resource of type "Link" with identifier "L2" has been successfully updated.</message>
   <id>67</id>
</success>