POST api/Obd/CarView

Vehicle view [special interface]

Request Information

Body Parameters

CarViewModel
NameDescriptionTypeAdditional information
ObjId

Id

integer

None.

LoginType

Login type

integer

None.

Statistics

Do you need monthly statistics

boolean

None.

TimeOffset

time offset

integer

None.

MapType

map style

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:
{
  "ObjId": 1,
  "LoginType": 2,
  "Statistics": true,
  "TimeOffset": 4,
  "MapType": "sample string 5",
  "Token": "sample string 6",
  "Language": "sample string 7",
  "AppId": "sample string 8"
}

application/xml, text/xml

Sample:
<CarViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 8</AppId>
  <Language>sample string 7</Language>
  <Token>sample string 6</Token>
  <LoginType>2</LoginType>
  <MapType>sample string 5</MapType>
  <ObjId>1</ObjId>
  <Statistics>true</Statistics>
  <TimeOffset>4</TimeOffset>
</CarViewModel>

Response Information

Resource Description

CarViewResult
NameDescriptionTypeAdditional information
CarInfoItem

Vehicle information

CarInfo

None.

Infos

advertising information

Collection of AdInfo

None.

Provider

service provider

ServiceProviderInfo

None.

Notification

remind

RemindInfo

None.

ObdTravel

obd journey

ObdTravelViewInfo

None.

Obd

obd status

ObdStatusInfo

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CarInfoItem": {
    "Sid": 1,
    "DeviceId": 2,
    "Imei": "sample string 3",
    "BrandId": 4,
    "BrandName": "sample string 5",
    "BrandEN_Name": "sample string 6",
    "Logo": "sample string 7",
    "SerId": 8,
    "SerName": "sample string 9",
    "SerEN_Name": "sample string 10",
    "ModelId": 11,
    "ModelName": "sample string 12",
    "ModelEN_Name": "sample string 13",
    "EngineNum": "sample string 14",
    "FrameNum": "sample string 15",
    "InitDistance": 16.0,
    "CarNo": "sample string 17",
    "TotalMileage": 18.0,
    "AvgFuel": 19.0,
    "AvgSpeed": 20.0,
    "Fortification": 21,
    "AccStatus": 22,
    "Status": 23,
    "DeviceName": "sample string 24",
    "SimCard": "sample string 25",
    "Avatar": "sample string 26"
  },
  "Infos": [
    {
      "ImgUrl": "sample string 1"
    },
    {
      "ImgUrl": "sample string 1"
    }
  ],
  "Provider": {
    "Username": "sample string 1",
    "FirstName": "sample string 2",
    "CellPhone": "sample string 3",
    "Address": "sample string 4"
  },
  "Notification": {
    "NextMaintain": 1,
    "NextInsurance": 2,
    "NextCheck": 3
  },
  "ObdTravel": {
    "Total": 1,
    "Mileage": 2.0,
    "TravelTime": 3,
    "AvgSpeed": 4.0,
    "AvgFuel": 5.0,
    "TotalFuel": 6.0,
    "OverSpeed": 7,
    "SpeedUp": 8,
    "SlowDown": 9,
    "Idling": 10,
    "FastTurn": 11
  },
  "Obd": {
    "Acc": true,
    "AvgFuel": 2.0,
    "AvgSpeed": 3,
    "Brakes": 4,
    "Distance": 5.0,
    "Door": 6,
    "Ext1": 7,
    "Ext2": "sample string 8",
    "Ext3": 9.0,
    "Ext4": 10,
    "Ext5": 11,
    "Fault": true,
    "Fuel": 13.0,
    "Functions": "sample string 14",
    "IMEI": "sample string 15",
    "LastCommunication": "2018-12-19T13:39:23.9055469+08:00",
    "LifeDistance": 17.0,
    "Light": 18,
    "Locked": 19,
    "OverOil": 20.0,
    "Pm25": 21,
    "Rpm": 22,
    "ServerUtcTime": "2018-12-19T13:39:23.9055469+08:00",
    "Speed": 24,
    "Status": 25,
    "SteeringAngle": "sample string 26",
    "Temperature": 27,
    "Tire": 28,
    "Trunk": 29,
    "VersionNo": "sample string 30",
    "Voltage": 31.0,
    "Window": 32,
    "WaterTemp": 33,
    "Load": 34.0,
    "RunTime": 35,
    "CoolantTemp": 36,
    "IntakeTemp": 37,
    "IntakePressue": 38,
    "FuelTrim": 39.0,
    "IgnitionAngle": 40.0,
    "AirFlow": 41.0,
    "FaultDistance": 42.0,
    "FaultTime": 43,
    "Throttle": 44,
    "HundredFuel": 45.0,
    "FuelPressure": 46.0,
    "Air_Fuel": 47.0,
    "RelativeThrottle": 48.0
  },
  "State": 1
}

application/xml, text/xml

Sample:
<CarViewResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <CarInfoItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:AccStatus>22</d2p1:AccStatus>
    <d2p1:Avatar>sample string 26</d2p1:Avatar>
    <d2p1:AvgFuel>19</d2p1:AvgFuel>
    <d2p1:AvgSpeed>20</d2p1:AvgSpeed>
    <d2p1:BrandEN_Name>sample string 6</d2p1:BrandEN_Name>
    <d2p1:BrandId>4</d2p1:BrandId>
    <d2p1:BrandName>sample string 5</d2p1:BrandName>
    <d2p1:CarNo>sample string 17</d2p1:CarNo>
    <d2p1:DeviceId>2</d2p1:DeviceId>
    <d2p1:DeviceName>sample string 24</d2p1:DeviceName>
    <d2p1:EngineNum>sample string 14</d2p1:EngineNum>
    <d2p1:Fortification>21</d2p1:Fortification>
    <d2p1:FrameNum>sample string 15</d2p1:FrameNum>
    <d2p1:Imei>sample string 3</d2p1:Imei>
    <d2p1:InitDistance>16</d2p1:InitDistance>
    <d2p1:Logo>sample string 7</d2p1:Logo>
    <d2p1:ModelEN_Name>sample string 13</d2p1:ModelEN_Name>
    <d2p1:ModelId>11</d2p1:ModelId>
    <d2p1:ModelName>sample string 12</d2p1:ModelName>
    <d2p1:SerEN_Name>sample string 10</d2p1:SerEN_Name>
    <d2p1:SerId>8</d2p1:SerId>
    <d2p1:SerName>sample string 9</d2p1:SerName>
    <d2p1:Sid>1</d2p1:Sid>
    <d2p1:SimCard>sample string 25</d2p1:SimCard>
    <d2p1:Status>23</d2p1:Status>
    <d2p1:TotalMileage>18</d2p1:TotalMileage>
  </CarInfoItem>
  <Infos xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:AdInfo>
      <d2p1:ImgUrl>sample string 1</d2p1:ImgUrl>
    </d2p1:AdInfo>
    <d2p1:AdInfo>
      <d2p1:ImgUrl>sample string 1</d2p1:ImgUrl>
    </d2p1:AdInfo>
  </Infos>
  <Notification xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:NextCheck>3</d2p1:NextCheck>
    <d2p1:NextInsurance>2</d2p1:NextInsurance>
    <d2p1:NextMaintain>1</d2p1:NextMaintain>
  </Notification>
  <Obd xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetApi.Helper.Models.ViewModel">
    <d2p1:Acc>true</d2p1:Acc>
    <d2p1:AirFlow>41</d2p1:AirFlow>
    <d2p1:Air_Fuel>47</d2p1:Air_Fuel>
    <d2p1:AvgFuel>2</d2p1:AvgFuel>
    <d2p1:AvgSpeed>3</d2p1:AvgSpeed>
    <d2p1:Brakes>4</d2p1:Brakes>
    <d2p1:CoolantTemp>36</d2p1:CoolantTemp>
    <d2p1:Distance>5</d2p1:Distance>
    <d2p1:Door>6</d2p1:Door>
    <d2p1:Ext1>7</d2p1:Ext1>
    <d2p1:Ext2>sample string 8</d2p1:Ext2>
    <d2p1:Ext3>9</d2p1:Ext3>
    <d2p1:Ext4>10</d2p1:Ext4>
    <d2p1:Ext5>11</d2p1:Ext5>
    <d2p1:Fault>true</d2p1:Fault>
    <d2p1:FaultDistance>42</d2p1:FaultDistance>
    <d2p1:FaultTime>43</d2p1:FaultTime>
    <d2p1:Fuel>13</d2p1:Fuel>
    <d2p1:FuelPressure>46</d2p1:FuelPressure>
    <d2p1:FuelTrim>39</d2p1:FuelTrim>
    <d2p1:Functions>sample string 14</d2p1:Functions>
    <d2p1:HundredFuel>45</d2p1:HundredFuel>
    <d2p1:IMEI>sample string 15</d2p1:IMEI>
    <d2p1:IgnitionAngle>40</d2p1:IgnitionAngle>
    <d2p1:IntakePressue>38</d2p1:IntakePressue>
    <d2p1:IntakeTemp>37</d2p1:IntakeTemp>
    <d2p1:LastCommunication>2018-12-19T13:39:23.9055469+08:00</d2p1:LastCommunication>
    <d2p1:LifeDistance>17</d2p1:LifeDistance>
    <d2p1:Light>18</d2p1:Light>
    <d2p1:Load>34</d2p1:Load>
    <d2p1:Locked>19</d2p1:Locked>
    <d2p1:OverOil>20</d2p1:OverOil>
    <d2p1:Pm25>21</d2p1:Pm25>
    <d2p1:RelativeThrottle>48</d2p1:RelativeThrottle>
    <d2p1:Rpm>22</d2p1:Rpm>
    <d2p1:RunTime>35</d2p1:RunTime>
    <d2p1:ServerUtcTime>2018-12-19T13:39:23.9055469+08:00</d2p1:ServerUtcTime>
    <d2p1:Speed>24</d2p1:Speed>
    <d2p1:Status>25</d2p1:Status>
    <d2p1:SteeringAngle>sample string 26</d2p1:SteeringAngle>
    <d2p1:Temperature>27</d2p1:Temperature>
    <d2p1:Throttle>44</d2p1:Throttle>
    <d2p1:Tire>28</d2p1:Tire>
    <d2p1:Trunk>29</d2p1:Trunk>
    <d2p1:VersionNo>sample string 30</d2p1:VersionNo>
    <d2p1:Voltage>31</d2p1:Voltage>
    <d2p1:WaterTemp>33</d2p1:WaterTemp>
    <d2p1:Window>32</d2p1:Window>
  </Obd>
  <ObdTravel>
    <AvgFuel>5</AvgFuel>
    <AvgSpeed>4</AvgSpeed>
    <FastTurn>11</FastTurn>
    <Idling>10</Idling>
    <Mileage>2</Mileage>
    <OverSpeed>7</OverSpeed>
    <SlowDown>9</SlowDown>
    <SpeedUp>8</SpeedUp>
    <Total>1</Total>
    <TotalFuel>6</TotalFuel>
    <TravelTime>3</TravelTime>
  </ObdTravel>
  <Provider xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:Address>sample string 4</d2p1:Address>
    <d2p1:CellPhone>sample string 3</d2p1:CellPhone>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:Username>sample string 1</d2p1:Username>
  </Provider>
</CarViewResult>