OPTIONS Exchange Global Contacts list
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) |
Mike.robski (Talk | contribs) m (1 revision: Release 95) |
Latest revision as of 23:59, 1 July 2014
Retrieves additional parameters for sorting and filtering of Global contacts
OPTIONS {server_name}/accounts/{account_number}/exchange/{domain_name}/globalContacts/
Contents |
Parameters
- account_number - string
- The account number that the Exchange resource belongs to
- domain_name - string
- The domain name that is associated with the Exchange resource
Response Body
{ "sortFields" : [ "name", "target" ], "sortOrders" : [ "asc", "desc" ], "filterFields" : [ { "field" : "target", "values" : [ ] }, { "field" : "name", "values" : [ ] } ] }
- sortFields - list
- List of the fields that are sortable
- sortOrders - list
- List of available orders for sorting
- filterFields - list
- List of specifications of fields that are filterable. Each element has the following parameters:
- field - string
- name of the field that is filterable. To filter a specified field add a parameter to the get request starting with filter and capitalising the field i.e. to filter name a filterName parameter should be passed to the get request.
- values - list
- List of allowed filterable values. If the list is empty no restrictions apply
Response Headers
- Allow
- A comma-separated list of request methods supported on this URI
Expected Response Codes
- 200
- Success
- 404
- Non-existent resource