Query Configured Jobs

POST /api/v1/queryjobs

Required Headers

Authorization: Bearer <token>

Body

Submit a single JSON encoded QueryJobsBody as the POST body.

Returns

HTTP 200 on success

HTTP 400 on malformed query (do not resubmit without fixes)

HTTP 401 on invalid/missing Authorization token (do not resubmit without updating Authorization)

HTTP 5XX on an error internal to DES.

On failure the response body will be a single JSON encoded ErrorResponse

On success the response body will contain a JSON encoded array of QueryJobsResponse[]. These will be all jobs configured for the organisation's token that you specified.

Remarks

The QueryJobsBody allows you to filter the jobs be the specified parameters. If you wish to return ALL configured jobs then you can either send an empty POST body or a POST body consisting of {} (an empty object)