Schema for Queued Task Resource

This schema for the queued task resource contains the following elements.

Click this link to view the XSD file.

QueuedTasksType

Name

Type

Description

QueuedTask

QueuedTaskType

Represents the queued task type.

QueuedTaskType

Name

Type

Description

Result

ResultType

Represents the result type.

Status

xs:string

Indicates the status of the queued task. The value can be, QUEUED, READY, IN_PROGRESS, COMPLETED and ERROR.

Progress

xs:double

Progress of the operation, in percentage.

CreatedOn

xs:long

Time when the task was created.

CreatedBy

xs:int

ID of the user who created the task.

Errors

Error

Represents the details of the errors generated by the queued task.

id

xs:int

ID of the task.

type

xs:string

Queued task type. Value can be EXPORT_REPORT or GENERATE_REPORT

Error

Name

Type

Description

Error

ErrorType

Represents the error encountered while processing the request.

ResultType

Name

Type

Description

Report

Report

The report for which the task is queued.

id

xs:int

ID of the report.

Report

Name

Type

Description

Hierarchy

Hierarchy

Represents the hierarchy for which the task is queued.

Hierarchy

Name

Type

Description

Name

NameType

Name of the hierarchy for which the report is generated.

id

xs:int

ID of the hierarchy for which the report is generated.