Get task by ID
Returns information about a long-running task.
GET
/rest/api/longtask/{id}Path parameters
idstringrequiredthe key of the task to be returned.
Query parameters
expandstringa comma separated list of properties to expand on the task.
Responses
200
returns a full JSON representation of a long task.
idstringnameMessageShow propertiesHide properties
keystringargsobject[]translationstringelapsedTimeinteger<int64>percentageCompleteinteger<int32>successfulbooleanmessagesMessage[]Show propertiesHide properties
Array of
Messagekeystringargsobject[]translationstring404
Returned if there is no task with the given key, or if the calling user does not have permission to view it
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring