Web-API:Custom Fields

From Cerberus Helpdesk Wiki

Jump to: navigation, search

Contents

Custom Fields

Retrieve

Retrieving custom fields is a little different from all of the other objects you can retrieve via the Web-API.

Ticket Custom Fields

$out = $cerb5->get($base_url . 'customfields/ticket.json');

Address Custom Fields

$out = $cerb5->get($base_url . 'customfields/address.json');

Org Custom Fields

$out = $cerb5->get($base_url . 'customfields/org.json');

Feedback Custom Fields

$out = $cerb5->get($base_url . 'customfields/feedback.json');

Worker Custom Fields

$out = $cerb5->get($base_url . 'customfields/worker.json');

The returned custom fields contain the following fields:

Note that you can use any of the above contexts to retrieve the custom fields as well. Eg:

Ticket Custom Fields (using context)

$out = $cerb5->get($base_url . 'customfields/cerberusweb.context.ticket.json');
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox