Web Service Method: Remove a Custom Relation Between Resources
Web Service Method: Remove a Custom Relation Between Resources
Description |
---|
Removes a custom relation between two resources. |
URL: /PoolParty/api/thesaurus/{project}/removeCustomRelation
Note
This method is the opposite of Web Service Method: Add a Custom Relation to a Resource
Please take care that source and target resource have appropriate custom types with support of the respective relation.
Request
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 |
Response
http status code: 200if OK.
Example
POST Request
http://<server-url>/PoolParty/api/thesaurus/APItests/removeCustomRelation?source=http://test.info/glossary/2614&target=http://test.info/glossary/2615&property=http://vocabulary.poolparty.biz/PoolParty/schema/Test/relation