Query Reference Data Response
After you use the RefDataQuery method to query CME STP BaCE about reference-data tables in the database, CME STP BaCE returns the queried data in the CHReport element.
The CHReport element includes the following attributes:
Attribute Name | Type | Length | Valid Values | Required | Description |
---|---|---|---|---|---|
CHML | Standard header element. | ||||
CHReport/ | |||||
Code | int |
| required | Code indicating whether the query was successful. | |
Details | string | optional | Text details of an error if one occurred. | ||
TableData/ | |||||
TableDef | Company ID | ||||
Table | Company |
Example
query: <CHML SchemaVersion=”6.0.0.3”><CHRequest><RefDataQuery TableName=’CUSTOMER’/>…”,
result: <CHML SchemaVersion=”6.0.0.3”>
<CHReport>
<TableData>
<TableDef Name=”CUSTOMER”>
<Columns>
<Column Name=”CompanyID”/><Column>
<Column Name=”Company”/>
. . .
</Columns>
</TableDef>
<Table Name=”Company”>
<Rows>
<Row>
<Column Name=”CompanyId” Value=”1”/>
<Column Name=”Company” Value=”Acme Inc”/>
…
</Row>
</Rows>
</Table>
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.