POST api/fetchgraph

Request Information

URI Parameters

None.

Body Parameters

GraphModel
NameDescriptionTypeAdditional information
UUID

string

None.

tab

string

None.

dateRange

dateRange

None.

dataPoints

Collection of dataPoints

None.

goal

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UUID": "sample string 1",
  "tab": "sample string 2",
  "dateRange": {
    "startDate": "sample string 1",
    "endDate": "sample string 2"
  },
  "dataPoints": [
    {
      "date": "sample string 1",
      "point": 2.0
    },
    {
      "date": "sample string 1",
      "point": 2.0
    }
  ],
  "goal": 3
}

application/xml, text/xml

Sample:
<GraphModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models">
  <UUID>sample string 1</UUID>
  <dataPoints>
    <dataPoints>
      <date>sample string 1</date>
      <point>2</point>
    </dataPoints>
    <dataPoints>
      <date>sample string 1</date>
      <point>2</point>
    </dataPoints>
  </dataPoints>
  <dateRange>
    <endDate>sample string 2</endDate>
    <startDate>sample string 1</startDate>
  </dateRange>
  <goal>3</goal>
  <tab>sample string 2</tab>
</GraphModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.