POST api/DeviceData/Save

Request Information

URI Parameters

None.

Body Parameters

DeviceDataDTO
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

DeviceId

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

FilePath

string

None.

Telephone1

string

None.

Telephone2

string

None.

DeviceRefId

string

None.

Note

string

None.

Type

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "userId": 2,
  "deviceId": 3,
  "latitude": 4.0,
  "longitude": 5.0,
  "filePath": "sample string 6",
  "telephone1": "sample string 7",
  "telephone2": "sample string 8",
  "deviceRefId": "sample string 9",
  "note": "sample string 10",
  "type": 64
}

application/xml, text/xml

Sample:
<DeviceDataDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vantage.WebAPI.DTOs">
  <DeviceId>3</DeviceId>
  <DeviceRefId>sample string 9</DeviceRefId>
  <FilePath>sample string 6</FilePath>
  <Id>1</Id>
  <Latitude>4</Latitude>
  <Longitude>5</Longitude>
  <Note>sample string 10</Note>
  <Telephone1>sample string 7</Telephone1>
  <Telephone2>sample string 8</Telephone2>
  <Type>64</Type>
  <UserId>2</UserId>
</DeviceDataDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.