Filtering by EquipmentElementLevel
- Last UpdatedOct 05, 2022
- 1 minute read
You can filter the GetEquipment list by EquipmentElementLevel to produce a list of work centers.
Request
This is an example of the GetEquipmentRequestMessage, when filtered by EquipmentElementLevel.
<GetEquipmentRequestMessage
xmlns="http://www.citect.com/Ampla/B2MML/2008/07">
<Request>
<Credentials>
<Username>User</Username>
<Password>********</Password>
</Credentials>
<EquipmentElementLevel>WorkCenter</EquipmentElementLevel>
</Request>
</GetEquipmentRequestMessage>
Response
This is an example of a portion of the GetEquipmentResponseMessage, when filtered by EquipmentElementLevel.
<GetEquipmentResponseMessage
xmlns="http://www.citect.com/Ampla/B2MML/2008/07"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ShowEquipment releaseID="" xmlns="http://www.wbf.org/xml/b2mmlv0400">
<ApplicationArea>
<CreationDateTime>20180907T06:13:45.9764876Z</CreationDateTime>
</ApplicationArea>
<DataArea>
<Show />
<Equipment>
<ID xsi:type="EquipmentIDType" schemeName="Fullname">Company Name.Site.Area.Pump100</ID>
<EquipmentProperty>
<ID xsi:type="PropertyIDType">Supplier</ID>
<Value>
<ValueString>Clipsal</ValueString>
<DataType>String</DataType>
<UnitOfMeasure />
</Value>
</EquipmentProperty>
<EquipmentProperty>
<ID xsi:type="PropertyIDType">Speed</ID>
<Value>
<ValueString>500</ValueString>
<DataType>Integer</DataType>
<UnitOfMeasure />
</Value>
</EquipmentProperty>
<EquipmentProperty>
<ID xsi:type="PropertyIDType">Name</ID>
<Value>
<ValueString>Pump100</ValueString>
<DataType>String</DataType>
<UnitOfMeasure />
</Value>
</EquipmentProperty>
<EquipmentClassID>Electrical.Pump</EquipmentClassID>
<Location>
<EquipmentID />
<EquipmentElementLevel>ProcessCell</EquipmentElementLevel>
</Location>
</Equipment>