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:
[ "d4cbf2cd-7550-4926-9be0-9c94242b0552", "75e2ecc6-f6d4-4fdd-96cf-d8e4da5f4c7a" ]
text/html
Sample:
["d4cbf2cd-7550-4926-9be0-9c94242b0552","75e2ecc6-f6d4-4fdd-96cf-d8e4da5f4c7a"]