====/api/asset/relate [POST]====
===Usage===
Creates a relationship between a given **parent** and **child** asset.
===Details==
^Detail^Value^
|Group|Asset|
|From Server Version|0.9.0|
|Permission|[[permission_guest|Admin]]|
|Methods|POST|
==Parameters==
^Parameter^Notes^Meaning^
|**parent**|Integer [Required]|The [[assetid|ID]] of the upstream asset.|
|**child**|Integer [Required]|The [[assetid|ID]] of the downstream asset.|
|**rel**|Integer [Required]|The [[relationshipid|ID]] of the relationship.|
|**format**|String (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)==
Success
==Success (JSON)==
{ "success": ["Success"]}
===Other Versions===
[[/api/asset/relate_get]] \\
[[/api/asset/relate_post]] \\
[[/api/asset/relate_delete]] \\