OPTIONS Exchange Email Aliases list
From Hostway API Documentation
Revision as of 23:59, 1 July 2014 by Mike.robski (Talk | contribs)
Retrieves additional parameters for sorting and filtering of Email Aliases
OPTIONS {server_name}/accounts/{account_number}/exchange/{domain_name}/emailaliases/
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" : [ "emailAlias" ], "sortOrders" : [ "asc", "desc" ], "filterFields" : [ { "field" : "emailalias", "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