Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ BI Gateway

Insight MES API

  • Last UpdatedDec 13, 2022
  • 1 minute read

ProductionEvents

This custom query returns the production events for the given tags.

Sample query expression

{

"QueryName":"ProductionEvents",

"Service":{

"Method":"Get",

"ItemPath":"apis/MES/odata/ProductionEvents",

"QueryParameter":"$filter=ProducedTime ge [RequestedStartTime] AND ProducedTime le [RequestedEndTime] AND DispositionType eq 1&$orderby=ProducedTime&$top=10000",

"NextPage":"@odata.nextLink"

}

}

ContextEvents

This custom query returns the context events for the given tags.

Sample query expression

{

"QueryName":"ContextEvents",

"Service":

{

"Method":"Get",

"ItemPath":"apis/MES/odata/ContextEvents",

"QueryParameter":"$filter=StartTime ge [RequestedStartTime] AND StartTime le [RequestedEndTime] AND PropertyName eq 'ProductID' &$orderby=StartTime&$top=10000",

"NextPage":"@odata.nextLink"

}

}

ProductionRuns

This custom query returns the production runs for the given tags.

Sample query expression

{

"QueryName":"ProductionRuns",

"Service":

{

"Method":"Get",

"ItemPath":"apis/MES/odata/ProductionRuns",

"QueryParameter":"$filter=StartTime ge [RequestedStartTime] AND EndTime le [RequestedEndTime] &$orderby=StartTime&$top=200000",

"NextPage":"@odata.nextLink"

}

}

TitleResults for “How to create a CRG?”Also Available in