GET api/SharedCollection/GetActiveConvertTasks?code={code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

None.

Response Information

Resource Description

ObjResultOfConvertTask
NameDescriptionTypeAdditional information
Data

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
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfConvertTaskxjMzsN7R 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:_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>
  </Data>
</ObjResultOfConvertTaskxjMzsN7R>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

code

Property Description
Chars (Char)

				
Length (Int32)

				
}