Provides query results. Links build from NewJobQueryAction will link here.
GET
/api/JobQuery/AdminQuery
Parameters
Query Parameters
Pagination.PageSize
integer format: int32
Pagination.PageOffset
integer format: int32
SortBy.PropertyName
string
SortBy.SortType
string
Filter.Owner
string
None indicates that all matches should be found. Care full this should not be the case for non admin users.
Filter.Name
string
Filter.State
string
Filter.ShowDeleted
boolean
Responses
200
Returns the query result
object
class
Array<string>
title
string
properties
object
TotalEntities
required
integer format: int32
CurrentEntitiesCount
required
integer format: int32
entities
Array
actions
Array<object>
object
name
required
string
href
required
string
class
Array<string>
method
string
title
string
type
string
fields
Array<object>
object
name
required
string
type
string
value
class
Array<string>
title
string
links
Array<object>
object
rel
required
Array<string>
href
required
string
class
Array<string>
title
string
type
string
Example
{ "class": [ "AdminJobQueryResult", "QueryResult" ], "title": "Query result for jobs with applied filters and sorting.", "properties": { "TotalEntities": 3, "CurrentEntitiesCount": 3 }, "entities": [ { "class": [ "Job" ], "title": "A Job for the system. Provides access to job lifetime, information and operations", "rel": [ "item" ], "properties": { "Name": "New Job", "State": "Created" }, "entities": [], "actions": [ { "name": "Delete", "title": "Delete this job.", "method": "DELETE", "href": "http://localhost:80/api/Job/4575f13c-960f-4f58-a891-b684c202d471/DeleteJob", "class": [ "ParameterLessAction" ] }, { "name": "Rename", "title": "Rename this job.", "method": "POST", "href": "http://localhost:80/api/Job/4575f13c-960f-4f58-a891-b684c202d471/RenameJob", "type": "application/json", "class": [ "ParameterAction" ], "fields": [ { "name": "RenameJobParameters", "type": "application/json", "class": [ "http://localhost:80/ActionParameterTypes/RenameJobParameters" ], "value": { "NewName": "New Job" } } ] } ], "links": [ { "rel": [ "self" ], "href": "http://localhost:80/api/Job/4575f13c-960f-4f58-a891-b684c202d471" }, { "rel": [ "WorkData" ], "href": "http://localhost:80/api/4575f13c-960f-4f58-a891-b684c202d471/WorkData/00000000-0000-0000-0000-000000000000" } ] }, { "class": [ "Job" ], "title": "A Job for the system. Provides access to job lifetime, information and operations", "rel": [ "item" ], "properties": { "Name": "Job 1", "State": "Created" }, "entities": [], "actions": [ { "name": "Delete", "title": "Delete this job.", "method": "DELETE", "href": "http://localhost:80/api/Job/199e39de-1ac7-49b7-99bd-c2dca11f3fc0/DeleteJob", "class": [ "ParameterLessAction" ] }, { "name": "Rename", "title": "Rename this job.", "method": "POST", "href": "http://localhost:80/api/Job/199e39de-1ac7-49b7-99bd-c2dca11f3fc0/RenameJob", "type": "application/json", "class": [ "ParameterAction" ], "fields": [ { "name": "RenameJobParameters", "type": "application/json", "class": [ "http://localhost:80/ActionParameterTypes/RenameJobParameters" ], "value": { "NewName": "Job 1" } } ] } ], "links": [ { "rel": [ "self" ], "href": "http://localhost:80/api/Job/199e39de-1ac7-49b7-99bd-c2dca11f3fc0" }, { "rel": [ "WorkData" ], "href": "http://localhost:80/api/199e39de-1ac7-49b7-99bd-c2dca11f3fc0/WorkData/00000000-0000-0000-0000-000000000000" } ] }, { "class": [ "Job" ], "title": "A Job for the system. Provides access to job lifetime, information and operations", "rel": [ "item" ], "properties": { "Name": "Job 2", "State": "Created" }, "entities": [], "actions": [ { "name": "Delete", "title": "Delete this job.", "method": "DELETE", "href": "http://localhost:80/api/Job/5bbef197-2b72-4cdf-b72b-d220615c7f82/DeleteJob", "class": [ "ParameterLessAction" ] }, { "name": "Rename", "title": "Rename this job.", "method": "POST", "href": "http://localhost:80/api/Job/5bbef197-2b72-4cdf-b72b-d220615c7f82/RenameJob", "type": "application/json", "class": [ "ParameterAction" ], "fields": [ { "name": "RenameJobParameters", "type": "application/json", "class": [ "http://localhost:80/ActionParameterTypes/RenameJobParameters" ], "value": { "NewName": "Job 2" } } ] } ], "links": [ { "rel": [ "self" ], "href": "http://localhost:80/api/Job/5bbef197-2b72-4cdf-b72b-d220615c7f82" }, { "rel": [ "WorkData" ], "href": "http://localhost:80/api/5bbef197-2b72-4cdf-b72b-d220615c7f82/WorkData/00000000-0000-0000-0000-000000000000" } ] } ], "actions": [], "links": [ { "rel": [ "self" ], "href": "http://localhost:80/api/JobQuery/AdminQuery?Pagination.PageSize=20&SortBy.PropertyName=CreatedOn&SortBy.SortType=Descending" }, { "rel": [ "all" ], "href": "http://localhost:80/api/JobQuery/AdminQuery?SortBy.PropertyName=CreatedOn&SortBy.SortType=Descending" }, { "rel": [ "first" ], "href": "http://localhost:80/api/JobQuery/AdminQuery?Pagination.PageSize=20&SortBy.PropertyName=CreatedOn&SortBy.SortType=Descending" } ]}400
The querystring was malformed
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
403
User has no permission to access the query
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
500
Internal error
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties