POST api/Location/MonthHistoryDays

Obtain the date of the specified month when the device has track data

Request Information

Body Parameters

HistoryMonthDayModel
NameDescriptionTypeAdditional information
DeviceId

device imei

integer

None.

TimeOffset

cell phone current time zone,the historical trajectory of the month is whether there are data parameters

integer

None.

Time

For the month of data, this date can be any day of the month

date

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:
{
  "DeviceId": 1,
  "TimeOffset": 2,
  "Time": "2018-10-19T15:19:18.6718508+08:00",
  "Token": "sample string 4",
  "Language": "sample string 5",
  "AppId": "sample string 6"
}

application/xml, text/xml

Sample:
<HistoryMonthDayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 6</AppId>
  <Language>sample string 5</Language>
  <Token>sample string 4</Token>
  <DeviceId>1</DeviceId>
  <Time>2018-10-19T15:19:18.6718508+08:00</Time>
  <TimeOffset>2</TimeOffset>
</HistoryMonthDayModel>

Response Information

Resource Description

Statestatus codeillustrate:
0 Indicates success
100 stands no data
1100 stands device does not exist

HistoryMonthDayResult
NameDescriptionTypeAdditional information
Days

Returns the month trajectory data date

Collection of date

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Days": [
    "2018-10-19T15:19:18.6777104+08:00",
    "2018-10-19T15:19:18.6777104+08:00"
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<HistoryMonthDayResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Days xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2018-10-19T15:19:18.6777104+08:00</d2p1:dateTime>
    <d2p1:dateTime>2018-10-19T15:19:18.6777104+08:00</d2p1:dateTime>
  </Days>
</HistoryMonthDayResult>