#472 REST API finalized (reintegrated from trunk)

SVN:2.0[2670]
This commit is contained in:
Romain Quetiez
2013-04-02 13:43:29 +00:00
parent 31a58d2e99
commit 6c8a152a23
4 changed files with 190 additions and 16 deletions

View File

@@ -150,6 +150,13 @@ $aOperations = array(
),
'output_fields' => 'id, friendlyname, title, contacts_list', // list of fields to show in the results (* or a,b,c)
),
array(
'operation' => 'core/get_related', // operation code
'class' => 'Server',
'key' => 'SELECT Server',
'relation' => 'impacts', // relation code
'depth' => 4, // max recursion depth
),
);
$sUrl = "http://localhost/rest-services/webservices/rest.php?version=1.0";