dms.ConvertQuery
This job allows conversion between various request formats.
The following formats are supported:
-
DMS— DMSQuery XML format -
STQ— Format for stored queries -
ABN— Format for subscriptions
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Flags must be |
|
INT |
Yes |
Must be |
|
STRING or BASE64 |
Yes |
Request text |
|
STRING |
Yes |
Input format: |
|
STRING |
Yes |
Output format: |
|
STRING |
No |
Name of the request (only for OutputFormat |
|
INT |
No |
ID of the request (only for OutputFormat |
|
INT |
No |
ID of an icon that is displayed in the client. Default |
|
INT |
No |
Action when opening the stored query (only for OutputFormat |
|
INT |
No |
|
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
OutputFormat |
Request text in DMSQuery XML format (UTF-8 encoded) |
|
STRING |
OutputFormat |
Request text in target format (ANSI encoded) |
3. Return Value
(INT): 0 = Job successful, otherwise error code
Complete error list
| Since the request possibilities of the DMSQuery XML format exceed those of the other formats, the following limitations apply for the DMSQuery XML format as input format: |
-
Hierarchical structures are not supported (
<ParentObjects>,<ChildObjects>,<ExternalObjects>are ignored). -
Parameter names must have the format
$VARnnn$or$STATnnn$(nnn = 000–999). -
Field groups within conditions cannot be used.
-
Only one value can be specified for each condition.
-
Conditions for base parameters and system fields cannot be formulated.
-
Stored queries (STQ) in expert mode cannot be converted.