newAsset
Input Parameters
Fields | Values | Description |
---|---|---|
URL | A valid FTP URL | The FTP location URL from which the PES must get the asset file |
Filename | A valid filename | The name of the asset (used as filename). A valid file name should less than 255 characters |
Type | ASCII string | File Format Type of asset. This field range are: (ASCII character 34), & (ASCII character 38), < (ASCII character 60). Cannot be empty or “.” (dot). |
Output Result
Fields | Values | Description |
---|---|---|
Command | newAsset | EEcho of the command element |
Code | 0 -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
<newAsset URL="..." FileName="..." Type="..." />
Response On Success
<Result Command="newAsset" Code="0"/>
Response On Failure
<Result Command="newAsset" Code="1">
<Description>Cannot open source</Description>
</Result>