_Plant Focus API Additional Parameters

Basic Functionality

The typical API call will return you a single value. This is in decimal format to represent whatever you asked it for. 


Extended Functionality

In another call, the result will be formatted with XML. It will contain something similar to the following:

<?xml version="1.0" encoding="utf-8" ?>

<requested-response>

<value>

<!--this is the raw value represented by the unit-of-measure below-->

425.76

</value>

<material-to-produce>

<!--this is what material was being produced, options are soft coded based upon configuration, see table tblSAPMaterialToProduce-->

TII

</material-to-produce>

<resource>

<!--this is the equipment that is doing the consuming or producing, options are soft coded based upon configuration, see table tblSAPResource-->

3010FM01

</resource>

<material>

<!--this is the material that is consumed or produced, it produced it will be identical to material-to-produce, options are soft coded based upon configuration, see table tblSAPMaterial-->

LIMESTONE

</material>

<type-of-movement>

<!--options are soft coded based upon configuration, see table tblSAPTypeOfMovement-->

CONSUMPTION

</type-of-movement>

<batch>

<!--this is the source of the material, aka plant designation code-->

3010

</batch>

<unit-of-measure>

<!--options are soft coded based upon configuration, see table tblSAPUnitOfMeasure-->

STON

</unit-of-measure>

<number-of-hours>

<!-- if applicable this will return the number of operating hours the equipment had in the duration of time requested to produce or consume this product-->

23.46

</number-of-hours>

</requested-response>