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:
[ "a9b89643-e769-4dcd-ab3c-735c5e46ad9a", "e84f8bd3-bcde-49f3-8e80-687f1f605dfb" ]
text/html
Sample:
["a9b89643-e769-4dcd-ab3c-735c5e46ad9a","e84f8bd3-bcde-49f3-8e80-687f1f605dfb"]