Adding a Link

Usage

Adds a link to the documents expressions dictionary.

Request

POST /documents/<documentID>/links

Request body:

<link> 
    <name> 
    <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

POST /documents/3422/links

Request body:

<link>	
    <name>new link</name>	
    <linkedExpressions>		
        <linkedExpression id="DP0.DObc"/>		
        <linkedExpression id="DP1.DObc"/>
    </linkedExpressions>
</link>

Response:

<success>
    <message>The resource of type "Link" with identifier "L6" has been successfully created.</message>
    <id>L6</id>
</success>