POST api/PositionInfoCollect/LBSCollect

LBS information collection

Request Information

Body Parameters

LBSCollectModel
NameDescriptionTypeAdditional information
Items

aggregate of the data

Collection of LBSCollect

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:
{
  "Items": [
    {
      "MCC": 1,
      "MNC": 2,
      "LAC": 3,
      "CID": 4,
      "Signal": 5.0,
      "Lat": 6.0,
      "Lng": 7.0,
      "LatLngType": 8
    },
    {
      "MCC": 1,
      "MNC": 2,
      "LAC": 3,
      "CID": 4,
      "Signal": 5.0,
      "Lat": 6.0,
      "Lng": 7.0,
      "LatLngType": 8
    }
  ],
  "Token": "sample string 1",
  "Language": "sample string 2",
  "AppId": "sample string 3"
}

application/xml, text/xml

Sample:
<LBSCollectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 3</AppId>
  <Language>sample string 2</Language>
  <Token>sample string 1</Token>
  <Items>
    <LBSCollect>
      <CID>4</CID>
      <LAC>3</LAC>
      <Lat>6</Lat>
      <LatLngType>8</LatLngType>
      <Lng>7</Lng>
      <MCC>1</MCC>
      <MNC>2</MNC>
      <Signal>5</Signal>
    </LBSCollect>
    <LBSCollect>
      <CID>4</CID>
      <LAC>3</LAC>
      <Lat>6</Lat>
      <LatLngType>8</LatLngType>
      <Lng>7</Lng>
      <MCC>1</MCC>
      <MNC>2</MNC>
      <Signal>5</Signal>
    </LBSCollect>
  </Items>
</LBSCollectModel>

Response Information

Resource Description

Statestatus code
0 Ϊsuccess

BaseResult
NameDescriptionTypeAdditional information
State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
</BaseResult>