Skip to main content
Skip table of contents

newAsset

Input Parameters

FieldsValuesDescription
URLA valid FTP URL The FTP location URL from which the PES must get the asset file
FilenameA valid filenameThe name of the asset (used as filename). A valid file name should less than 255 characters
TypeASCII stringFile Format Type of asset. This field range are: (ASCII character 34), & (ASCII character 38), < (ASCII character 60).
Cannot be empty or “.” (dot).

Output Result

FieldsValuesDescription
CommandnewAssetEEcho of the command element
Code0
-1
1
0 = success
-1 = DTD Violation
1 = Processing Error

Processing Errors

  • "Not a master manager”  - MAS connected to a slave manager
  • "Asset already in todolist”
  • "Cannot open source”  - ftp source not available
  • "Cannot open destination file”
  • "Internal error …”
  • "Cannot add asset to todolist”
  • “empty asset’s name”

Examples

Request

CODE
<newAsset URL="..." FileName="..." Type="..." />

Response On Success

CODE
<Result Command="newAsset" Code="0"/>

Response On Failure

CODE
<Result Command="newAsset" Code="1">    
<Description>Cannot open source</Description> 
</Result>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.