POST api/ProductData

Request Information

URI Parameters

None.

Body Parameters

Shealthy_data
NameDescriptionTypeAdditional information
id

integer

None.

warning

string

None.

type

string

None.

lw

decimal number

None.

at

decimal number

None.

ah

decimal number

None.

ap

decimal number

None.

li

decimal number

None.

uv

decimal number

None.

accx

decimal number

None.

accy

decimal number

None.

accz

decimal number

None.

gyrox

decimal number

None.

gyroy

decimal number

None.

gyroz

decimal number

None.

ethanol

integer

None.

t

decimal number

None.

time

string

None.

eui

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "warning": "sample string 2",
  "type": "sample string 3",
  "lw": 1.1,
  "at": 1.1,
  "ah": 1.1,
  "ap": 1.1,
  "li": 1.1,
  "uv": 1.1,
  "accx": 1.1,
  "accy": 1.1,
  "accz": 1.1,
  "gyrox": 1.1,
  "gyroy": 1.1,
  "gyroz": 1.1,
  "ethanol": 1,
  "t": 1.1,
  "time": "sample string 4",
  "eui": "sample string 5"
}

application/xml, text/xml

Sample:
<Shealthy_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProductDataAccess">
  <accx>1.1</accx>
  <accy>1.1</accy>
  <accz>1.1</accz>
  <ah>1.1</ah>
  <ap>1.1</ap>
  <at>1.1</at>
  <ethanol>1</ethanol>
  <eui>sample string 5</eui>
  <gyrox>1.1</gyrox>
  <gyroy>1.1</gyroy>
  <gyroz>1.1</gyroz>
  <id>1</id>
  <li>1.1</li>
  <lw>1.1</lw>
  <t>1.1</t>
  <time>sample string 4</time>
  <type>sample string 3</type>
  <uv>1.1</uv>
  <warning>sample string 2</warning>
</Shealthy_data>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>