POST api/Watch/Position

Upload location

Request Information

Body Parameters

DPositionModel
NameDescriptionTypeAdditional information
SerialNumber

device imei code

string

None.

Type

data type

string

None.

UTCTime

UTC time

date

None.

Valid

wether it is effective or not

string

None.

Lat

latitude

decimal number

None.

Lng

longitude

decimal number

None.

LBSCount

Number of base stations

integer

None.

Mcc

MCC

string

None.

Mnc

MNC

string

None.

LbsData

base station data

string

None.

WifiCount

WIFI quantity

integer

None.

WifiData

WIFI data

string

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SerialNumber": "sample string 1",
  "Type": "sample string 2",
  "UTCTime": "2018-12-19T05:20:25.50125+08:00",
  "Valid": "sample string 4",
  "Lat": 5.0,
  "Lng": 6.0,
  "LBSCount": 7,
  "Mcc": "sample string 8",
  "Mnc": "sample string 9",
  "LbsData": "sample string 10",
  "WifiCount": 11,
  "WifiData": "sample string 12",
  "Token": "sample string 13",
  "Language": "sample string 14",
  "AppId": "sample string 15"
}

application/xml, text/xml

Sample:
<DPositionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 15</AppId>
  <Language>sample string 14</Language>
  <Token>sample string 13</Token>
  <LBSCount>7</LBSCount>
  <Lat>5</Lat>
  <LbsData>sample string 10</LbsData>
  <Lng>6</Lng>
  <Mcc>sample string 8</Mcc>
  <Mnc>sample string 9</Mnc>
  <SerialNumber>sample string 1</SerialNumber>
  <Type>sample string 2</Type>
  <UTCTime>2018-12-19T05:20:25.50125+08:00</UTCTime>
  <Valid>sample string 4</Valid>
  <WifiCount>11</WifiCount>
  <WifiData>sample string 12</WifiData>
</DPositionModel>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.