POST api/logsAll

Request Information

URI Parameters

None.

Body Parameters

Collection of Logs
NameDescriptionTypeAdditional information
id

integer

Required

devSn

string

None.

expId

string

String length: inclusive between 0 and 30

inspectorId

string

String length: inclusive between 0 and 100

dateTime

date

None.

radonValue

integer

None.

temperature

decimal number

None.

humidity

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "devSn": "sample string 2",
    "expId": "sample string 3",
    "inspectorId": "sample string 4",
    "dateTime": "2024-11-17T06:16:40.323155+00:00",
    "radonValue": 1,
    "temperature": 1.1,
    "humidity": 1.1
  },
  {
    "id": 1,
    "devSn": "sample string 2",
    "expId": "sample string 3",
    "inspectorId": "sample string 4",
    "dateTime": "2024-11-17T06:16:40.323155+00:00",
    "radonValue": 1,
    "temperature": 1.1,
    "humidity": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfLogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMnS_Pro_API.Models">
  <Logs>
    <dateTime>2024-11-17T06:16:40.323155+00:00</dateTime>
    <devSn>sample string 2</devSn>
    <expId>sample string 3</expId>
    <humidity>1.1</humidity>
    <id>1</id>
    <inspectorId>sample string 4</inspectorId>
    <radonValue>1</radonValue>
    <temperature>1.1</temperature>
  </Logs>
  <Logs>
    <dateTime>2024-11-17T06:16:40.323155+00:00</dateTime>
    <devSn>sample string 2</devSn>
    <expId>sample string 3</expId>
    <humidity>1.1</humidity>
    <id>1</id>
    <inspectorId>sample string 4</inspectorId>
    <radonValue>1</radonValue>
    <temperature>1.1</temperature>
  </Logs>
</ArrayOfLogs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.