POST api/fetchtrends
Request Information
URI Parameters
None.
Body Parameters
TrendsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UUID | string |
None. |
|
| tab | string |
None. |
|
| current | current |
None. |
|
| previous | previous |
None. |
Request Formats
application/json, text/json
Sample:
{
"UUID": "sample string 1",
"tab": "sample string 2",
"current": {
"dateRange": {
"startDate": "sample string 1",
"endDate": "sample string 2"
},
"dataPoints": [
{
"date": "sample string 1",
"point": 2.0
},
{
"date": "sample string 1",
"point": 2.0
}
]
},
"previous": {
"dateRange": {
"startDate": "sample string 1",
"endDate": "sample string 2"
},
"dataPoints": [
{
"date": "sample string 1",
"point": 2.0
},
{
"date": "sample string 1",
"point": 2.0
}
]
}
}
application/xml, text/xml
Sample:
<TrendsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models">
<UUID>sample string 1</UUID>
<current>
<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>
</current>
<previous>
<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>
</previous>
<tab>sample string 2</tab>
</TrendsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |