/api/asset/relate [POST]

Usage

Creates a relationship between a given parent and child asset.

Details

DetailValue
GroupAsset
From Server Version0.9.0
PermissionAdmin
MethodsPOST
Parameters
ParameterNotesMeaning
parentInteger [Required]The ID of the upstream asset.
childInteger [Required]The ID of the downstream asset.
relInteger [Required]The ID of the relationship.
formatString (xml)Either 'xml' or 'json'

Examples

Call
[POST] http://ardiserver.com/api/asset/relate?parent=925&child=22&rel=40

Creates a new relationship (type 40) between asset 925 and asset 22.

Success (XML)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
   <success>Success</success>
</response>
Success (JSON)
{ "success": ["Success"]}

Other Versions