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:
[ "00536b3a-2356-4c7a-a614-762790af3d64", "10ab45ea-5e44-4544-a140-bc2f93453029" ]
text/html
Sample:
["00536b3a-2356-4c7a-a614-762790af3d64","10ab45ea-5e44-4544-a140-bc2f93453029"]