POST api/AddStepsBulk
Request Information
URI Parameters
None.
Body Parameters
Collection of StepsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| stepid | integer |
None. |
|
| uuid | string |
None. |
|
| granularity | integer |
None. |
|
| hour | integer |
None. |
|
| source | string |
None. |
|
| stepcount | integer |
None. |
|
| timestamp | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"stepid": 1,
"uuid": "sample string 2",
"granularity": 3,
"hour": 4,
"source": "sample string 5",
"stepcount": 6,
"timestamp": "sample string 7"
},
{
"stepid": 1,
"uuid": "sample string 2",
"granularity": 3,
"hour": 4,
"source": "sample string 5",
"stepcount": 6,
"timestamp": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfStepsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models">
<StepsModel>
<granularity>3</granularity>
<hour>4</hour>
<source>sample string 5</source>
<stepcount>6</stepcount>
<stepid>1</stepid>
<timestamp>sample string 7</timestamp>
<uuid>sample string 2</uuid>
</StepsModel>
<StepsModel>
<granularity>3</granularity>
<hour>4</hour>
<source>sample string 5</source>
<stepcount>6</stepcount>
<stepid>1</stepid>
<timestamp>sample string 7</timestamp>
<uuid>sample string 2</uuid>
</StepsModel>
</ArrayOfStepsModel>
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. |