GET QualityChartData

Returns quality chart data for the specified SPC point.

Relative URL

rest/QualityChartData?PointName={PointName}&StartDate={StartDate}&EndDate={EndDate}

Parameters

PointName (required) - The name of the SPC point for which to retrieve the data.

Default Value: None

Example Value: hh:\Configuration\Signals\%TestSPC\Range

StartDate (optional) - The start time of the window for which to retrieve the data in the format: YYYY-MM-ddThh:mm:ss. The special value of 'now' (without quotes) can be used to pass the current date and time. A negative offset can also be provided using the format: now - hh:mm:ss

Default Value: 1 day back from the value of EndDate.

Example Value: 2015-08-24T00:00:00

EndDate (optional) - The end time of the window for which to retrieve the data in the format: YYYY-MM-ddThh:mm:ss. The special value of 'now' (without quotes) can be used to pass the current date and time. A negative offset can also be provided using the format: now - hh:mm:ss

Default Value: The current date and time at the moment of the call.

Example Value: 2015-08-25T00:00:00

Example Result

An array containing multiple objects, each one representing one sample.

[

  {

    "PointName": "hh:\\Configuration\\Signals\\%TestSPC\\Range",

    "GroupID": 6298,

    "Timestamp": "2015-08-24T16:24:27.179-04:00",

    "Value": 97.916664123535156,

    "CL": 5.0,

    "LCL": 3.0,

    "UCL": 6.0,

    "LSL": "NaN",

    "USL": "NaN",

    "Target": "NaN",

    "Note": null

  },

  {

    "PointName": "hh:\\Configuration\\Signals\\%TestSPC\\Range",

    "GroupID": 6299,

    "Timestamp": "2015-08-24T16:24:27.68-04:00",

    "Value": 2.0833332538604736,

    "CL": 5.0,

    "LCL": 3.0,

    "UCL": 6.0,

    "LSL": "NaN",

    "USL": "NaN",

    "Target": "NaN",

    "Note": null

  },

  {

    "PointName": "hh:\\Configuration\\Signals\\%TestSPC\\Range",

    "GroupID": 6300,

    "Timestamp": "2015-08-24T16:24:28.18-04:00",

    "Value": 2.0833332538604736,

    "CL": 5.0,

    "LCL": 3.0,

    "UCL": 6.0,

    "LSL": "NaN",

    "USL": "NaN",

    "Target": "NaN",

    "Note": null

  }

]

See Also:

REST and OData

GET RealtimeData

GET DatasetData

GET FaultCauses

GET FaultIncidents

GET HistoricalAlarms

GET HistoricalData

GET QualityHistogramData