POST api/LocationData/Upload_Location_Data

Request Information

URI Parameters

None.

Body Parameters

Upload_Location_Data_Input
NameDescriptionTypeAdditional information
Device_Regn_ID

string

None.

IMEI_Number

string

None.

Os_Version

string

None.

Emp_ID

integer

None.

Date_Time

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Speed

decimal number

None.

Direction

decimal number

None.

Altitude

decimal number

None.

Param_1

string

None.

Param_2

string

None.

Param_3

string

None.

Param_4

string

None.

Param_5

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Device_Regn_ID": "sample string 1",
  "IMEI_Number": "sample string 2",
  "Os_Version": "sample string 3",
  "Emp_ID": 4,
  "Date_Time": "sample string 5",
  "Latitude": 6.1,
  "Longitude": 7.1,
  "Speed": 8.0,
  "Direction": 9.0,
  "Altitude": 10.0,
  "Param_1": "sample string 11",
  "Param_2": "sample string 12",
  "Param_3": "sample string 13",
  "Param_4": "sample string 14",
  "Param_5": "sample string 15"
}

multipart/form-data

Sample:
{"Device_Regn_ID":"sample string 1","IMEI_Number":"sample string 2","Os_Version":"sample string 3","Emp_ID":4,"Date_Time":"sample string 5","Latitude":6.1,"Longitude":7.1,"Speed":8.0,"Direction":9.0,"Altitude":10.0,"Param_1":"sample string 11","Param_2":"sample string 12","Param_3":"sample string 13","Param_4":"sample string 14","Param_5":"sample string 15"}

application/xml, text/xml

Sample:
<Upload_Location_Data_Input xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Device_Regn_ID>sample string 1</Device_Regn_ID>
  <IMEI_Number>sample string 2</IMEI_Number>
  <Os_Version>sample string 3</Os_Version>
  <Emp_ID>4</Emp_ID>
  <Date_Time>sample string 5</Date_Time>
  <Latitude>6.1</Latitude>
  <Longitude>7.1</Longitude>
  <Speed>8</Speed>
  <Direction>9</Direction>
  <Altitude>10</Altitude>
  <Param_1>sample string 11</Param_1>
  <Param_2>sample string 12</Param_2>
  <Param_3>sample string 13</Param_3>
  <Param_4>sample string 14</Param_4>
  <Param_5>sample string 15</Param_5>
</Upload_Location_Data_Input>

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.