POST api/DataList/GetTirePressure

get tirepressure

Request Information

Body Parameters

TireModel
NameDescriptionTypeAdditional information
DeviceId

integer

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,
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

Sample:
<TireModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 4</AppId>
  <Language>sample string 3</Language>
  <Token>sample string 2</Token>
  <DeviceId>1</DeviceId>
</TireModel>

Response Information

Resource Description

Return list

TirePressureResult
NameDescriptionTypeAdditional information
IMEI

string

None.

Items

Collection of TPModel

None.

Msg

string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IMEI": "sample string 1",
  "Items": [
    {
      "TruckNumber": "sample string 1",
      "Pressure": 2.1,
      "Temperature": 3,
      "UpdateTime": "2019-09-23T06:33:17.02202+08:00"
    },
    {
      "TruckNumber": "sample string 1",
      "Pressure": 2.1,
      "Temperature": 3,
      "UpdateTime": "2019-09-23T06:33:17.02202+08:00"
    }
  ],
  "Msg": "sample string 2",
  "State": 3
}

application/xml, text/xml

Sample:
<TirePressureResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>3</State>
  <IMEI>sample string 1</IMEI>
  <Items>
    <TPModel>
      <Pressure>2.1</Pressure>
      <Temperature>3</Temperature>
      <TruckNumber>sample string 1</TruckNumber>
      <UpdateTime>2019-09-23T06:33:17.02202+08:00</UpdateTime>
    </TPModel>
    <TPModel>
      <Pressure>2.1</Pressure>
      <Temperature>3</Temperature>
      <TruckNumber>sample string 1</TruckNumber>
      <UpdateTime>2019-09-23T06:33:17.02202+08:00</UpdateTime>
    </TPModel>
  </Items>
  <Msg>sample string 2</Msg>
</TirePressureResult>