GET api/jobtypes/ids/search?currentState={currentState}&canRaiseOnDeviceOnly={canRaiseOnDeviceOnly}&includeInactive={includeInactive}&updatedAfter={updatedAfter}
Searches for a list of job type ids matching the criteria.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
currentState |
The current state of the job type (e.g. Published). |
API.Domain.Models.JobTypeState |
None. |
canRaiseOnDeviceOnly |
If true, restrict to only those job types which can be raised on device. |
boolean |
Default value is False |
includeInactive |
If true, return details of inactive job types in the results. |
boolean |
Default value is False |
updatedAfter |
If set, only return matching job types which have been updated after this date. |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
HTTP 200
Guid[] - A list of matching job type ids.
HTTP 500
An error occurred, please try again or contact the administrator.
Response Formats
application/json, text/json
Sample:
[ "d8fd1798-b6f1-4cf9-bad6-a23347f1f256", "cbcf8e0b-7cee-4f9f-8586-0754db50adf2" ]
text/html
Sample:
["d8fd1798-b6f1-4cf9-bad6-a23347f1f256","cbcf8e0b-7cee-4f9f-8586-0754db50adf2"]