GET api/SystemAvailabilityAnalysis/GetChart?period={period}&seriesID={seriesID}&siteIDs={siteIDs}&startDate={startDate}&endDate={endDate}

Used to Return SystemAvailability Analysis Chart Data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
period

integer

Required

seriesID

integer

Required

siteIDs

string

Required

startDate

date

None.

endDate

date

None.

Body Parameters

None.

Response Information

Resource Description

ChartView
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

Dates

Collection of date

None.

Values

Collection of ChartViewData

None.

Response Formats

application/json, text/json

Sample:
{
  "StartDate": "2018-10-16T08:02:53.4066211+00:00",
  "EndDate": "2018-10-16T08:02:53.4066211+00:00",
  "Dates": [
    "2018-10-16T08:02:53.4066211+00:00",
    "2018-10-16T08:02:53.4066211+00:00"
  ],
  "Values": [
    {
      "SiteID": 1,
      "SiteName": "sample string 2",
      "SiteStatus": "sample string 3",
      "Values": [
        1.0,
        1.0
      ],
      "Status": [
        true,
        true
      ]
    },
    {
      "SiteID": 1,
      "SiteName": "sample string 2",
      "SiteStatus": "sample string 3",
      "Values": [
        1.0,
        1.0
      ],
      "Status": [
        true,
        true
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ChartView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.MultiSite">
  <Dates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2018-10-16T08:02:53.4066211+00:00</d2p1:dateTime>
    <d2p1:dateTime>2018-10-16T08:02:53.4066211+00:00</d2p1:dateTime>
  </Dates>
  <EndDate>2018-10-16T08:02:53.4066211+00:00</EndDate>
  <StartDate>2018-10-16T08:02:53.4066211+00:00</StartDate>
  <Values>
    <ChartViewData>
      <SiteID>1</SiteID>
      <SiteName>sample string 2</SiteName>
      <SiteStatus>sample string 3</SiteStatus>
      <Status xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:boolean>true</d4p1:boolean>
        <d4p1:boolean>true</d4p1:boolean>
      </Status>
      <Values xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>1</d4p1:decimal>
      </Values>
    </ChartViewData>
    <ChartViewData>
      <SiteID>1</SiteID>
      <SiteName>sample string 2</SiteName>
      <SiteStatus>sample string 3</SiteStatus>
      <Status xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:boolean>true</d4p1:boolean>
        <d4p1:boolean>true</d4p1:boolean>
      </Status>
      <Values xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>1</d4p1:decimal>
      </Values>
    </ChartViewData>
  </Values>
</ChartView>