GET api/Download/GetActiveConvertTasks

Get a list of active background transformation tasks

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Array of active/completed transformation tasks

ObjResultOfConvertTask[]
NameDescriptionTypeAdditional information
Data

Collection of ConvertTask

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "id": "sample string 1",
      "current": 2,
      "error": "sample string 3",
      "total": 4,
      "complete": true,
      "step": 6,
      "url": "sample string 7",
      "cancelled": true
    },
    {
      "id": "sample string 1",
      "current": 2,
      "error": "sample string 3",
      "total": 4,
      "complete": true,
      "step": 6,
      "url": "sample string 7",
      "cancelled": true
    }
  ],
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfArrayOfConvertTaskxjMzsN7R xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>3</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 1</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PicaJet.Daminion.Service.WCF">
    <d2p1:ConvertTask>
      <d2p1:_x003C_Cancelled_x003E_k__BackingField>true</d2p1:_x003C_Cancelled_x003E_k__BackingField>
      <d2p1:_x003C_Complete_x003E_k__BackingField>true</d2p1:_x003C_Complete_x003E_k__BackingField>
      <d2p1:_x003C_Current_x003E_k__BackingField>2</d2p1:_x003C_Current_x003E_k__BackingField>
      <d2p1:_x003C_Error_x003E_k__BackingField>sample string 3</d2p1:_x003C_Error_x003E_k__BackingField>
      <d2p1:_x003C_Id_x003E_k__BackingField>sample string 1</d2p1:_x003C_Id_x003E_k__BackingField>
      <d2p1:_x003C_Step_x003E_k__BackingField>6</d2p1:_x003C_Step_x003E_k__BackingField>
      <d2p1:_x003C_Total_x003E_k__BackingField>4</d2p1:_x003C_Total_x003E_k__BackingField>
      <d2p1:_x003C_Url_x003E_k__BackingField>sample string 7</d2p1:_x003C_Url_x003E_k__BackingField>
    </d2p1:ConvertTask>
    <d2p1:ConvertTask>
      <d2p1:_x003C_Cancelled_x003E_k__BackingField>true</d2p1:_x003C_Cancelled_x003E_k__BackingField>
      <d2p1:_x003C_Complete_x003E_k__BackingField>true</d2p1:_x003C_Complete_x003E_k__BackingField>
      <d2p1:_x003C_Current_x003E_k__BackingField>2</d2p1:_x003C_Current_x003E_k__BackingField>
      <d2p1:_x003C_Error_x003E_k__BackingField>sample string 3</d2p1:_x003C_Error_x003E_k__BackingField>
      <d2p1:_x003C_Id_x003E_k__BackingField>sample string 1</d2p1:_x003C_Id_x003E_k__BackingField>
      <d2p1:_x003C_Step_x003E_k__BackingField>6</d2p1:_x003C_Step_x003E_k__BackingField>
      <d2p1:_x003C_Total_x003E_k__BackingField>4</d2p1:_x003C_Total_x003E_k__BackingField>
      <d2p1:_x003C_Url_x003E_k__BackingField>sample string 7</d2p1:_x003C_Url_x003E_k__BackingField>
    </d2p1:ConvertTask>
  </Data>
</ObjResultOfArrayOfConvertTaskxjMzsN7R>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}