GetCurrentLots response message
- Last UpdatedSep 06, 2023
- 1 minute read
This is an example of the full structure of a GetCurrentLots response message.
<GetCurrentLotsResponseMessage xmlns="http://www.citect.com/Ampla/Operations/2010/03">
<Response>
<Context>
<Filter>
<WorkCenter>Enterprise.Site1.WCA</WorkCenter>
<Material>Material Model.Site1.S1M1</Material>
</Filter>
</Context>
<LotDetails>
<LotDetail>
<LotId>456788</LotId>
<Lot />
<Material>Material Model.Site1.S1M1</Material>
<MaterialClass>Class.Coal</MaterialClass>
<Quantity>182</Quantity>
<SampleDateTime>2010-05-11T00:00:00</SampleDateTime>
<Units>M1Unit</Units>
<LotGroup>LG1</LotGroup>
</LotDetail>
</LotDetails>
</Response>
</GetCurrentLotsResponseMessage>
Response parameters: Context section
Contains information about the context of returned lots, such as applied filters.
<Context>
<Filter>
<WorkCenter>Enterprise.Site1.WCA</WorkCenter>
<Material>Material Model.Site1.S1M1</Material>
</Filter>
</Context>
|
Parameter |
Description |
|---|---|
|
Filter |
Contains details about the filter that is applied to returned lots. |
|
WorkCenter |
Filters the results to specified work center. |
|
Material |
Filters the results to specified material. For example, Material Model.Coal. |
Response parameters: LotDetails section
Contains the set of details about an individual lot.
<LotDetails>
<LotDetail>
<LotId>456788</LotId>
<Lot />
<Material>Material Model.Site1.S1M1</Material>
<MaterialClass>Class.Coal</MaterialClass>
<Quantity>182</Quantity>
<SampleDateTime>2010-05-11T00:00:00</SampleDateTime>
<Units>KG</Units>
<LotGroup>LG1</LotGroup>
</LotDetail>
</LotDetails>
|
Parameter |
Description |
|---|---|
|
LotDetail |
Contains the details about an individual lot. |
|
LotId |
The internal lot ID of the returned lot. |
|
Lot |
The external lot ID of the returned lot. |
|
Material |
The material of the returned lot. For example, Material Model.Coal. |
|
MaterialClass |
The material class of the returned lot. For example, Class.Copper. |
|
Quantity |
The quantity of material in the returned lot. This is a positive or negative numeric value. |
|
SampleDateTime |
The SampleDateTime of the returned lot. For example, 2014-06-24T18:00:00Z |
|
Units |
The units of the returned lot. For example, Kilograms. |
|
LotGroup |
The lot group of the returned lot. |