Description |
---|
Adds a custom relation to a resource. |
URL: /PoolParty/api/thesaurus/{project}/addCustomRelation
Note
Please take care that source and target resource have appropriate custom types with support of the respective relation.
This service is the programmatic approach to the frontend based functionality, described here: Insert Custom Relations and Attributes
Supported Methods |
---|
POST |
application/x-www-form-urlencoded
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
source | URI of the source resource | String | true |
target | URI of the target resource | String | true |
property | URI of the custom relation property | String | true |
http status code: 200if OK.
POST Request
http://<server-url>/PoolParty/api/thesaurus/APItests/addCustomRelation?source=http://test.info/glossary/2614&target=http://test.info/glossary/2615&property=http://vocabulary.poolparty.biz/PoolParty/schema/Test/relation