GetData response message
- Last UpdatedOct 04, 2022
- 1 minute read
This is an example of the full structure of a GetData response message.
<GetDataResponseMessage xmlns="http://www.citect.com/Ampla/Data/2008/06">
<GetDataResponse>
<Context>
<Context>Plant</Context>
<Mode>Location</Mode>
<Module>Inventory</Module>
<ViewName>Inventory.InboundMaterialFlowView</ViewName>
<Fields />
<ModelFields />
<Filter>
<Location>Enterprise.Coal Site 1.Product Coal.CV1</Location>
</Filter>
<Localization />
</Context>
<RowSets>
<RowSet>
<Columns>
<Column name="Movement_x0020_Id" type="xs:Int" displayName="Movement Id" localizedDisplayName="Movement_x0020_Id" hasThresholds="false" hasSpecificationLimits="false" />
<Column name="Sample_x0020_Period" type="xs:DateTime" displayName="Sample Period" localizedDisplayName="Sample_x0020_Period" category="Standard" subCategory="Record Information" clrFormat="G" hasThresholds="false" hasSpecificationLimits="false" />
</Columns>
<Rows>
<Row id="437">
<Movement_x0020_Id>135</Movement_x0020_Id>
<Sample_x0020_Period>2014-01-28T01:19:46Z</Sample_x0020_Period>
<Location>Enterprise.Coal Site 1.Product Coal.CV1</Location>
<Material>Material Model.Processed Coal</Material>
<Lot>lot3</Lot>
<Source_x0020_Lot>lot3</Source_x0020_Lot>
<Quantity>500.00000000000000</Quantity>
<Units>Tonnes</Units>
<Movement_x0020_Type>Manual</Movement_x0020_Type>
<Ash>False</Ash>
<Coal_x0020_Percentage>0.3</Coal_x0020_Percentage>
<Sulphur>600</Sulphur>
<Actual_x0020_Coal>180</Actual_x0020_Coal>
</Row>
</Rows>
<BusinessRules>
<BusinessRule>
<FullName>EnterpriseFolder.SiteFolder.DowntimeReportingPoint.Business Rules.BusinessRule1</FullName>
<Name>BusinessRule1</Name>
<Explanation>Downtime 1 is greater than 10</Explanation>
<DisplayOrder>5.0</DisplayOrder>
<BackgroundColor>Red</BackgroundColor>
<TextColor>Black</TextColor>
<LookupKey>1</LookupKey>
</BusinessRule>
</BusinessRules>
<BusinessRuleResults>
<BusinessRuleResult>
<Id>1</Id>
<LookupKeys>1</LookupKeys>
</BusinessRuleResult>
<BusinessRuleResult>
<Id>2</Id>
<LookupKeys>1</LookupKeys>
</BusinessRuleResult>
</BusinessRuleResults>
<Specifications>
<Specification>
<LookupIndex>1</LookupIndex>
<Name>Sulphur</Name>
<Type>Thresholds</Type>
<UpperLimit>505</UpperLimit>
<LowerLimit>495</LowerLimit>
<Level>Critical</Level>
</Specification>
<Specification>
<LookupIndex>2</LookupIndex>
<Name>Sulphur</Name>
<Type>SpecificationLimits</Type>
<UpperLimit>505</UpperLimit>
<LowerLimit>495</LowerLimit>
<Level />
</Specification>
</Specifications>
<SpecificationResults>
<SpecificationResult>
<Id>437</Id>
<LookupIndex>3</LookupIndex>
<LookupIndex>1</LookupIndex>
<LookupIndex>2</LookupIndex>
</SpecificationResult>
</RowSet>
</RowSets>
</GetDataResponse>
</GetDataResponseMessage>
Response parameters
-
Response parameters: BusinessRules and BusinessRuleResults sections
-
Response parameters: Specification and SpecificationResults sections