POST api/SFDataPackets

Request Information

URI Parameters

None.

Body Parameters

SFDataPacket
NameDescriptionTypeAdditional information
Time

integer

None.

Device

string

None.

Duplicate

boolean

None.

Snr

decimal number

None.

Rssi

decimal number

None.

AvrSnr

decimal number

None.

Station

string

None.

Data

string

None.

Lat

decimal number

None.

Lng

decimal number

None.

SeqNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Time": 1,
  "Device": "sample string 2",
  "Duplicate": true,
  "Snr": 4.1,
  "Rssi": 5.1,
  "AvrSnr": 6.1,
  "Station": "sample string 7",
  "Data": "sample string 8",
  "Lat": 9.1,
  "Lng": 10.1,
  "SeqNumber": 11
}

application/xml, text/xml

Sample:
<SFDataPacket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KemuriSF.Models">
  <AvrSnr>6.1</AvrSnr>
  <Data>sample string 8</Data>
  <Device>sample string 2</Device>
  <Duplicate>true</Duplicate>
  <Lat>9.1</Lat>
  <Lng>10.1</Lng>
  <Rssi>5.1</Rssi>
  <SeqNumber>11</SeqNumber>
  <Snr>4.1</Snr>
  <Station>sample string 7</Station>
  <Time>1</Time>
</SFDataPacket>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SFDataItem
NameDescriptionTypeAdditional information
Id

integer

None.

Duplicate

boolean

None.

Snr

decimal number

None.

Rssi

decimal number

None.

AvrSnr

decimal number

None.

Station

string

None.

Data

string

None.

Lat

decimal number

None.

Lng

decimal number

None.

SeqNumber

integer

None.

DeviceId

integer

None.

Device

Device

None.

Time

date

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Duplicate": true,
  "Snr": 3.1,
  "Rssi": 4.1,
  "AvrSnr": 5.1,
  "Station": "sample string 6",
  "Data": "sample string 7",
  "Lat": 8.1,
  "Lng": 9.1,
  "SeqNumber": 10,
  "DeviceId": 11,
  "Device": {
    "Id": 1,
    "DeviceId": "sample string 2",
    "UserName": "sample string 3"
  },
  "Time": "2024-12-22T22:45:58.2967312+00:00"
}

application/xml, text/xml

Sample:
<SFDataItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KemuriSF.Models">
  <Time>2024-12-22T22:45:58.2967312+00:00</Time>
  <AvrSnr>5.1</AvrSnr>
  <Data>sample string 7</Data>
  <Device>
    <DeviceId>sample string 2</DeviceId>
    <Id>1</Id>
    <UserName>sample string 3</UserName>
  </Device>
  <DeviceId>11</DeviceId>
  <Duplicate>true</Duplicate>
  <Id>1</Id>
  <Lat>8.1</Lat>
  <Lng>9.1</Lng>
  <Rssi>4.1</Rssi>
  <SeqNumber>10</SeqNumber>
  <Snr>3.1</Snr>
  <Station>sample string 6</Station>
</SFDataItem>