Web-API:Attachments
From Cerberus Helpdesk Wiki
Contents |
Attachments
Retrieve
$out = $cerb5->get($base_url . 'attachments/1.xml');
Download
$out = $cerb5->get($base_url . 'attachments/4/download.xml');
Search
- id (integer)
- context_id (integer)
- context (string)
$postfields = array( array('criteria[]','id'), array('oper[]','='), array('value[]','116'), array('sortBy','id'), array('sortAsc','1'), array('page','1'), ); $out = $cerb5->post($base_url . 'attachments/search.xml', $postfields);