QueryJobRunStatusResponse Model

Response body from a QueryJobRunStatus request

Required
jobId : string (GUID)

The parent JobId that this JobRun belongs to

Required
jobRunId : string (GUID)

The JobRunId that this status is for

Required
finished : bool

Has the job run finished execution

Required
success : bool

Only applicable if Finished is also true. Value is undefined otherwise.

Will be true IFF the job run is finished and it finished successfully. False otherwise.

Nullable MaxLength(4096)
status : string

Optional human readable execution status (template specific).

Can also be used for finished templates to report error messages (if Success is false).

Can be null/empty.

Nullable MaxLength(32)
triggeringAuthServerUserId : string

Unique ID of the User/ServiceAccount that triggered this job run or null if it was run automatically

Nullable MaxLength(128)
triggeringAuthServerUserName : string

Preferred name of the User that triggered this job run or null if it was run automatically / not available

Nullable
finishedUtc : string (ISO 8601 DateTime)

The UTC datetime for when this job run finished (or null if it's still in progress)

Nullable
createdUtc : string (ISO 8601 DateTime)

The UTC datetime for when this job run was created

Nullable
outputFiles : JobRunFileMetadata []

The output files that were uploaded by the jobrun upon success (null/empty otherwise)

Example
{
  "jobId": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
  "jobRunId": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
  "finished": true,
  "success": true,
  "status": "string value",
  "triggeringAuthServerUserId": "string value",
  "triggeringAuthServerUserName": "string value",
  "finishedUtc": "2012-04-03T09:40:59.736Z",
  "createdUtc": "2012-04-03T09:40:59.736Z",
  "outputFiles": []
}