POST api/Values
Request Information
URI Parameters
None.
Body Parameters
UnitReading| Name | Description | Type | Additional information |
|---|---|---|---|
| Site | string |
None. |
|
| Unit | string |
None. |
|
| S/N | string |
None. |
|
| SentAt | string |
None. |
|
| Temp | string |
None. |
|
| Signal | string |
None. |
|
| Phone | string |
None. |
|
| Lat | string |
None. |
|
| Long | string |
None. |
|
| Data | Collection of Reading |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| Stat | integer |
None. |
|
| TimeZoneInfo | string |
None. |
|
| SentAtDateTime | date |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<UnitReading xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InsightAPI.Models">
<Data>
<Reading>
<Code>64</Code>
<Id>a71a1671-6611-40ba-a7f1-62c290f11e8b</Id>
<Mdl>sample string 5</Mdl>
<SNo>sample string 2</SNo>
<Val>sample string 3</Val>
</Reading>
<Reading>
<Code>64</Code>
<Id>a71a1671-6611-40ba-a7f1-62c290f11e8b</Id>
<Mdl>sample string 5</Mdl>
<SNo>sample string 2</SNo>
<Val>sample string 3</Val>
</Reading>
</Data>
<Id>411550f6-e2a0-444c-bebc-9dc76e0d32c6</Id>
<Lat>sample string 9</Lat>
<Long>sample string 10</Long>
<Password>sample string 12</Password>
<Phone>sample string 8</Phone>
<SentAt>sample string 5</SentAt>
<Signal>sample string 7</Signal>
<Site>sample string 2</Site>
<Stat>13</Stat>
<Temp>sample string 6</Temp>
<Unit>sample string 3</Unit>
<UnitSN>sample string 4</UnitSN>
<Username>sample string 11</Username>
</UnitReading>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.