POST api/interact/updatecoordinate

位置更新

Request Information

URI Parameters

None.

Body Parameters

位置更新

Coordinates
NameDescriptionTypeAdditional information
longitude

经度

decimal number

None.

latitude

纬度

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "longitude": 1.1,
  "latitude": 2.1
}

text/html

Sample:
{"longitude":1.1,"latitude":2.1}

application/xml, text/xml

Sample:
<Coordinates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <latitude>2.1</latitude>
  <longitude>1.1</longitude>
</Coordinates>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

位置更新

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});