POST api/Experiments

Request Information

URI Parameters

None.

Body Parameters

ExperimentsAndMobiles
NameDescriptionTypeAdditional information
id

string

String length: inclusive between 0 and 30

sn

string

String length: inclusive between 0 and 20

latitude

decimal number

None.

longitude

decimal number

None.

customerId

integer

None.

inspectorId

string

None.

waitSetTime

integer

None.

measSetTime

integer

None.

wifiUpload

byte

None.

dispOnOff

byte

None.

measStatus

byte

None.

startTime

date

None.

endTime

date

None.

evtNo

integer

None.

evt1_t

byte

None.

evt1_d

date

None.

evt2_t

byte

None.

evt2_d

date

None.

evt3_t

byte

None.

evt3_d

date

None.

evt4_t

byte

None.

evt4_d

date

None.

evt5_t

byte

None.

evt5_d

date

None.

evt6_t

byte

None.

evt6_d

date

None.

evt7_t

byte

None.

evt7_d

date

None.

evt8_t

byte

None.

evt8_d

date

None.

evt9_t

byte

None.

evt9_d

date

None.

evt10_t

byte

None.

evt10_d

date

None.

calibrationDate

date

None.

no

integer

None.

mobileId

string

String length: inclusive between 0 and 100

key

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "sn": "sample string 2",
  "latitude": 1.1,
  "longitude": 1.1,
  "customerId": 1,
  "inspectorId": "sample string 3",
  "waitSetTime": 1,
  "measSetTime": 1,
  "wifiUpload": 64,
  "dispOnOff": 64,
  "measStatus": 64,
  "startTime": "2024-11-17T06:15:56.4461326+00:00",
  "endTime": "2024-11-17T06:15:56.4461326+00:00",
  "evtNo": 1,
  "evt1_t": 64,
  "evt1_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt2_t": 64,
  "evt2_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt3_t": 64,
  "evt3_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt4_t": 64,
  "evt4_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt5_t": 64,
  "evt5_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt6_t": 64,
  "evt6_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt7_t": 64,
  "evt7_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt8_t": 64,
  "evt8_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt9_t": 64,
  "evt9_d": "2024-11-17T06:15:56.4461326+00:00",
  "evt10_t": 64,
  "evt10_d": "2024-11-17T06:15:56.4461326+00:00",
  "calibrationDate": "2024-11-17T06:15:56.4461326+00:00",
  "no": 4,
  "mobileId": "sample string 5",
  "key": "sample string 6"
}

application/xml, text/xml

Sample:
<ExperimentsAndMobiles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMnS_Pro_API.Models">
  <calibrationDate>2024-11-17T06:15:56.4461326+00:00</calibrationDate>
  <customerId>1</customerId>
  <dispOnOff>64</dispOnOff>
  <endTime>2024-11-17T06:15:56.4461326+00:00</endTime>
  <evt10_d>2024-11-17T06:15:56.4461326+00:00</evt10_d>
  <evt10_t>64</evt10_t>
  <evt1_d>2024-11-17T06:15:56.4461326+00:00</evt1_d>
  <evt1_t>64</evt1_t>
  <evt2_d>2024-11-17T06:15:56.4461326+00:00</evt2_d>
  <evt2_t>64</evt2_t>
  <evt3_d>2024-11-17T06:15:56.4461326+00:00</evt3_d>
  <evt3_t>64</evt3_t>
  <evt4_d>2024-11-17T06:15:56.4461326+00:00</evt4_d>
  <evt4_t>64</evt4_t>
  <evt5_d>2024-11-17T06:15:56.4461326+00:00</evt5_d>
  <evt5_t>64</evt5_t>
  <evt6_d>2024-11-17T06:15:56.4461326+00:00</evt6_d>
  <evt6_t>64</evt6_t>
  <evt7_d>2024-11-17T06:15:56.4461326+00:00</evt7_d>
  <evt7_t>64</evt7_t>
  <evt8_d>2024-11-17T06:15:56.4461326+00:00</evt8_d>
  <evt8_t>64</evt8_t>
  <evt9_d>2024-11-17T06:15:56.4461326+00:00</evt9_d>
  <evt9_t>64</evt9_t>
  <evtNo>1</evtNo>
  <id>sample string 1</id>
  <inspectorId>sample string 3</inspectorId>
  <key>sample string 6</key>
  <latitude>1.1</latitude>
  <longitude>1.1</longitude>
  <measSetTime>1</measSetTime>
  <measStatus>64</measStatus>
  <mobileId>sample string 5</mobileId>
  <no>4</no>
  <sn>sample string 2</sn>
  <startTime>2024-11-17T06:15:56.4461326+00:00</startTime>
  <waitSetTime>1</waitSetTime>
  <wifiUpload>64</wifiUpload>
</ExperimentsAndMobiles>

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.