prepareAsset
Input Parameters
Fields | Values | Description |
---|---|---|
Name | A valid file name | Name of the asset used as filename (< 255 chs) |
Type | ASCII string | Asset file format type |
Output Result
Fields | Values | Description |
---|---|---|
Command | prepareAsset | Echo of the command element name |
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”
- "No such asset”
- "Internal error …”
- "Cannot add asset to todolist”
- “empty asset’s name”
Examples
Request
<prepareAsset Name="Bond 0007" Type="0"/>
Response On Success
<Result Command="prepareAsset" Code="0"/>
Response On Failure
<Result Command="prepareAsset" Code="1">
<Description>No such asset</Description>
</Result>