POST api/Obd/TravelListMonthly

Monthly travel list [vehicle]

Request Information

Body Parameters

TravelMonthlyListModel
NameDescriptionTypeAdditional information
DeviceId

device id

integer

None.

TimeOffset

cell phonetime zone difference

decimal number

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

application/xml, text/xml

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

Response Information

Resource Description

Statestatus code
0. Indicates success
100. no data
1100. device does not exist
4000. return failure

TravelMonthlyListResult
NameDescriptionTypeAdditional information
Items

Collection of MonthlyTravel

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Month": "sample string 1",
      "TotalMileage": 2,
      "TotalTime": 3,
      "AvgSpeed": 4,
      "AvgFuel": 5.0,
      "TotalTrip": 6,
      "TotalFeul": 7.0,
      "TotalOverspeed": 8,
      "TotalSlowDown": 9,
      "TotalSpeedUp": 10,
      "TotalIdles": 11,
      "TotalFastTurn": 12,
      "Items": [
        {
          "TravelId": 1,
          "Status": 2,
          "StopTime": 3,
          "StartTime": "sample string 4",
          "StartAddress": "sample string 5",
          "EndTime": "sample string 6",
          "EndAddress": "sample string 7",
          "Mileage": 8.0,
          "Fuel": 9.0,
          "TravelTime": 10,
          "TravelAvgSpeed": 11.0,
          "TravelAvgFuel": 12.0,
          "OverSpeed": 13,
          "SlowDown": 14,
          "SpeedUp": 15,
          "Idling": 16,
          "TripID": "sample string 17",
          "Coolant_temp": 18.0,
          "FastAccelerate": 19,
          "SpeedingTime": 20,
          "SpeedingMileage": 21.0,
          "SpeedingOil": 22.0,
          "HighSpeedingTime": 23,
          "HighSpeedingMileage": 24.0,
          "HighSpeedingOil": 25.0,
          "MediumSpeedingTime": 26,
          "MediumSpeedingMileage": 27.0,
          "MediumSpeedingOil": 28.0,
          "LowSpeedingTime": 29,
          "LowSpeedingMileage": 30.0,
          "LowSpeedingOil": 31.0,
          "IdlingTime": 32,
          "IdlingOil": 33.0,
          "HeatingTime": 34,
          "FastLaneChanging": 35,
          "UrgentRefueling": 36
        },
        {
          "TravelId": 1,
          "Status": 2,
          "StopTime": 3,
          "StartTime": "sample string 4",
          "StartAddress": "sample string 5",
          "EndTime": "sample string 6",
          "EndAddress": "sample string 7",
          "Mileage": 8.0,
          "Fuel": 9.0,
          "TravelTime": 10,
          "TravelAvgSpeed": 11.0,
          "TravelAvgFuel": 12.0,
          "OverSpeed": 13,
          "SlowDown": 14,
          "SpeedUp": 15,
          "Idling": 16,
          "TripID": "sample string 17",
          "Coolant_temp": 18.0,
          "FastAccelerate": 19,
          "SpeedingTime": 20,
          "SpeedingMileage": 21.0,
          "SpeedingOil": 22.0,
          "HighSpeedingTime": 23,
          "HighSpeedingMileage": 24.0,
          "HighSpeedingOil": 25.0,
          "MediumSpeedingTime": 26,
          "MediumSpeedingMileage": 27.0,
          "MediumSpeedingOil": 28.0,
          "LowSpeedingTime": 29,
          "LowSpeedingMileage": 30.0,
          "LowSpeedingOil": 31.0,
          "IdlingTime": 32,
          "IdlingOil": 33.0,
          "HeatingTime": 34,
          "FastLaneChanging": 35,
          "UrgentRefueling": 36
        }
      ]
    },
    {
      "Month": "sample string 1",
      "TotalMileage": 2,
      "TotalTime": 3,
      "AvgSpeed": 4,
      "AvgFuel": 5.0,
      "TotalTrip": 6,
      "TotalFeul": 7.0,
      "TotalOverspeed": 8,
      "TotalSlowDown": 9,
      "TotalSpeedUp": 10,
      "TotalIdles": 11,
      "TotalFastTurn": 12,
      "Items": [
        {
          "TravelId": 1,
          "Status": 2,
          "StopTime": 3,
          "StartTime": "sample string 4",
          "StartAddress": "sample string 5",
          "EndTime": "sample string 6",
          "EndAddress": "sample string 7",
          "Mileage": 8.0,
          "Fuel": 9.0,
          "TravelTime": 10,
          "TravelAvgSpeed": 11.0,
          "TravelAvgFuel": 12.0,
          "OverSpeed": 13,
          "SlowDown": 14,
          "SpeedUp": 15,
          "Idling": 16,
          "TripID": "sample string 17",
          "Coolant_temp": 18.0,
          "FastAccelerate": 19,
          "SpeedingTime": 20,
          "SpeedingMileage": 21.0,
          "SpeedingOil": 22.0,
          "HighSpeedingTime": 23,
          "HighSpeedingMileage": 24.0,
          "HighSpeedingOil": 25.0,
          "MediumSpeedingTime": 26,
          "MediumSpeedingMileage": 27.0,
          "MediumSpeedingOil": 28.0,
          "LowSpeedingTime": 29,
          "LowSpeedingMileage": 30.0,
          "LowSpeedingOil": 31.0,
          "IdlingTime": 32,
          "IdlingOil": 33.0,
          "HeatingTime": 34,
          "FastLaneChanging": 35,
          "UrgentRefueling": 36
        },
        {
          "TravelId": 1,
          "Status": 2,
          "StopTime": 3,
          "StartTime": "sample string 4",
          "StartAddress": "sample string 5",
          "EndTime": "sample string 6",
          "EndAddress": "sample string 7",
          "Mileage": 8.0,
          "Fuel": 9.0,
          "TravelTime": 10,
          "TravelAvgSpeed": 11.0,
          "TravelAvgFuel": 12.0,
          "OverSpeed": 13,
          "SlowDown": 14,
          "SpeedUp": 15,
          "Idling": 16,
          "TripID": "sample string 17",
          "Coolant_temp": 18.0,
          "FastAccelerate": 19,
          "SpeedingTime": 20,
          "SpeedingMileage": 21.0,
          "SpeedingOil": 22.0,
          "HighSpeedingTime": 23,
          "HighSpeedingMileage": 24.0,
          "HighSpeedingOil": 25.0,
          "MediumSpeedingTime": 26,
          "MediumSpeedingMileage": 27.0,
          "MediumSpeedingOil": 28.0,
          "LowSpeedingTime": 29,
          "LowSpeedingMileage": 30.0,
          "LowSpeedingOil": 31.0,
          "IdlingTime": 32,
          "IdlingOil": 33.0,
          "HeatingTime": 34,
          "FastLaneChanging": 35,
          "UrgentRefueling": 36
        }
      ]
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<TravelMonthlyListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items>
    <MonthlyTravel>
      <AvgFuel>5</AvgFuel>
      <AvgSpeed>4</AvgSpeed>
      <Items xmlns:d4p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
        <d4p1:TravelInfo>
          <d4p1:Coolant_temp>18</d4p1:Coolant_temp>
          <d4p1:EndAddress>sample string 7</d4p1:EndAddress>
          <d4p1:EndTime>sample string 6</d4p1:EndTime>
          <d4p1:FastAccelerate>19</d4p1:FastAccelerate>
          <d4p1:FastLaneChanging>35</d4p1:FastLaneChanging>
          <d4p1:Fuel>9</d4p1:Fuel>
          <d4p1:HeatingTime>34</d4p1:HeatingTime>
          <d4p1:HighSpeedingMileage>24</d4p1:HighSpeedingMileage>
          <d4p1:HighSpeedingOil>25</d4p1:HighSpeedingOil>
          <d4p1:HighSpeedingTime>23</d4p1:HighSpeedingTime>
          <d4p1:Idling>16</d4p1:Idling>
          <d4p1:IdlingOil>33</d4p1:IdlingOil>
          <d4p1:IdlingTime>32</d4p1:IdlingTime>
          <d4p1:LowSpeedingMileage>30</d4p1:LowSpeedingMileage>
          <d4p1:LowSpeedingOil>31</d4p1:LowSpeedingOil>
          <d4p1:LowSpeedingTime>29</d4p1:LowSpeedingTime>
          <d4p1:MediumSpeedingMileage>27</d4p1:MediumSpeedingMileage>
          <d4p1:MediumSpeedingOil>28</d4p1:MediumSpeedingOil>
          <d4p1:MediumSpeedingTime>26</d4p1:MediumSpeedingTime>
          <d4p1:Mileage>8</d4p1:Mileage>
          <d4p1:OverSpeed>13</d4p1:OverSpeed>
          <d4p1:SlowDown>14</d4p1:SlowDown>
          <d4p1:SpeedUp>15</d4p1:SpeedUp>
          <d4p1:SpeedingMileage>21</d4p1:SpeedingMileage>
          <d4p1:SpeedingOil>22</d4p1:SpeedingOil>
          <d4p1:SpeedingTime>20</d4p1:SpeedingTime>
          <d4p1:StartAddress>sample string 5</d4p1:StartAddress>
          <d4p1:StartTime>sample string 4</d4p1:StartTime>
          <d4p1:Status>2</d4p1:Status>
          <d4p1:StopTime>3</d4p1:StopTime>
          <d4p1:TravelAvgFuel>12</d4p1:TravelAvgFuel>
          <d4p1:TravelAvgSpeed>11</d4p1:TravelAvgSpeed>
          <d4p1:TravelId>1</d4p1:TravelId>
          <d4p1:TravelTime>10</d4p1:TravelTime>
          <d4p1:TripID>sample string 17</d4p1:TripID>
          <d4p1:UrgentRefueling>36</d4p1:UrgentRefueling>
        </d4p1:TravelInfo>
        <d4p1:TravelInfo>
          <d4p1:Coolant_temp>18</d4p1:Coolant_temp>
          <d4p1:EndAddress>sample string 7</d4p1:EndAddress>
          <d4p1:EndTime>sample string 6</d4p1:EndTime>
          <d4p1:FastAccelerate>19</d4p1:FastAccelerate>
          <d4p1:FastLaneChanging>35</d4p1:FastLaneChanging>
          <d4p1:Fuel>9</d4p1:Fuel>
          <d4p1:HeatingTime>34</d4p1:HeatingTime>
          <d4p1:HighSpeedingMileage>24</d4p1:HighSpeedingMileage>
          <d4p1:HighSpeedingOil>25</d4p1:HighSpeedingOil>
          <d4p1:HighSpeedingTime>23</d4p1:HighSpeedingTime>
          <d4p1:Idling>16</d4p1:Idling>
          <d4p1:IdlingOil>33</d4p1:IdlingOil>
          <d4p1:IdlingTime>32</d4p1:IdlingTime>
          <d4p1:LowSpeedingMileage>30</d4p1:LowSpeedingMileage>
          <d4p1:LowSpeedingOil>31</d4p1:LowSpeedingOil>
          <d4p1:LowSpeedingTime>29</d4p1:LowSpeedingTime>
          <d4p1:MediumSpeedingMileage>27</d4p1:MediumSpeedingMileage>
          <d4p1:MediumSpeedingOil>28</d4p1:MediumSpeedingOil>
          <d4p1:MediumSpeedingTime>26</d4p1:MediumSpeedingTime>
          <d4p1:Mileage>8</d4p1:Mileage>
          <d4p1:OverSpeed>13</d4p1:OverSpeed>
          <d4p1:SlowDown>14</d4p1:SlowDown>
          <d4p1:SpeedUp>15</d4p1:SpeedUp>
          <d4p1:SpeedingMileage>21</d4p1:SpeedingMileage>
          <d4p1:SpeedingOil>22</d4p1:SpeedingOil>
          <d4p1:SpeedingTime>20</d4p1:SpeedingTime>
          <d4p1:StartAddress>sample string 5</d4p1:StartAddress>
          <d4p1:StartTime>sample string 4</d4p1:StartTime>
          <d4p1:Status>2</d4p1:Status>
          <d4p1:StopTime>3</d4p1:StopTime>
          <d4p1:TravelAvgFuel>12</d4p1:TravelAvgFuel>
          <d4p1:TravelAvgSpeed>11</d4p1:TravelAvgSpeed>
          <d4p1:TravelId>1</d4p1:TravelId>
          <d4p1:TravelTime>10</d4p1:TravelTime>
          <d4p1:TripID>sample string 17</d4p1:TripID>
          <d4p1:UrgentRefueling>36</d4p1:UrgentRefueling>
        </d4p1:TravelInfo>
      </Items>
      <Month>sample string 1</Month>
      <TotalFastTurn>12</TotalFastTurn>
      <TotalFeul>7</TotalFeul>
      <TotalIdles>11</TotalIdles>
      <TotalMileage>2</TotalMileage>
      <TotalOverspeed>8</TotalOverspeed>
      <TotalSlowDown>9</TotalSlowDown>
      <TotalSpeedUp>10</TotalSpeedUp>
      <TotalTime>3</TotalTime>
      <TotalTrip>6</TotalTrip>
    </MonthlyTravel>
    <MonthlyTravel>
      <AvgFuel>5</AvgFuel>
      <AvgSpeed>4</AvgSpeed>
      <Items xmlns:d4p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
        <d4p1:TravelInfo>
          <d4p1:Coolant_temp>18</d4p1:Coolant_temp>
          <d4p1:EndAddress>sample string 7</d4p1:EndAddress>
          <d4p1:EndTime>sample string 6</d4p1:EndTime>
          <d4p1:FastAccelerate>19</d4p1:FastAccelerate>
          <d4p1:FastLaneChanging>35</d4p1:FastLaneChanging>
          <d4p1:Fuel>9</d4p1:Fuel>
          <d4p1:HeatingTime>34</d4p1:HeatingTime>
          <d4p1:HighSpeedingMileage>24</d4p1:HighSpeedingMileage>
          <d4p1:HighSpeedingOil>25</d4p1:HighSpeedingOil>
          <d4p1:HighSpeedingTime>23</d4p1:HighSpeedingTime>
          <d4p1:Idling>16</d4p1:Idling>
          <d4p1:IdlingOil>33</d4p1:IdlingOil>
          <d4p1:IdlingTime>32</d4p1:IdlingTime>
          <d4p1:LowSpeedingMileage>30</d4p1:LowSpeedingMileage>
          <d4p1:LowSpeedingOil>31</d4p1:LowSpeedingOil>
          <d4p1:LowSpeedingTime>29</d4p1:LowSpeedingTime>
          <d4p1:MediumSpeedingMileage>27</d4p1:MediumSpeedingMileage>
          <d4p1:MediumSpeedingOil>28</d4p1:MediumSpeedingOil>
          <d4p1:MediumSpeedingTime>26</d4p1:MediumSpeedingTime>
          <d4p1:Mileage>8</d4p1:Mileage>
          <d4p1:OverSpeed>13</d4p1:OverSpeed>
          <d4p1:SlowDown>14</d4p1:SlowDown>
          <d4p1:SpeedUp>15</d4p1:SpeedUp>
          <d4p1:SpeedingMileage>21</d4p1:SpeedingMileage>
          <d4p1:SpeedingOil>22</d4p1:SpeedingOil>
          <d4p1:SpeedingTime>20</d4p1:SpeedingTime>
          <d4p1:StartAddress>sample string 5</d4p1:StartAddress>
          <d4p1:StartTime>sample string 4</d4p1:StartTime>
          <d4p1:Status>2</d4p1:Status>
          <d4p1:StopTime>3</d4p1:StopTime>
          <d4p1:TravelAvgFuel>12</d4p1:TravelAvgFuel>
          <d4p1:TravelAvgSpeed>11</d4p1:TravelAvgSpeed>
          <d4p1:TravelId>1</d4p1:TravelId>
          <d4p1:TravelTime>10</d4p1:TravelTime>
          <d4p1:TripID>sample string 17</d4p1:TripID>
          <d4p1:UrgentRefueling>36</d4p1:UrgentRefueling>
        </d4p1:TravelInfo>
        <d4p1:TravelInfo>
          <d4p1:Coolant_temp>18</d4p1:Coolant_temp>
          <d4p1:EndAddress>sample string 7</d4p1:EndAddress>
          <d4p1:EndTime>sample string 6</d4p1:EndTime>
          <d4p1:FastAccelerate>19</d4p1:FastAccelerate>
          <d4p1:FastLaneChanging>35</d4p1:FastLaneChanging>
          <d4p1:Fuel>9</d4p1:Fuel>
          <d4p1:HeatingTime>34</d4p1:HeatingTime>
          <d4p1:HighSpeedingMileage>24</d4p1:HighSpeedingMileage>
          <d4p1:HighSpeedingOil>25</d4p1:HighSpeedingOil>
          <d4p1:HighSpeedingTime>23</d4p1:HighSpeedingTime>
          <d4p1:Idling>16</d4p1:Idling>
          <d4p1:IdlingOil>33</d4p1:IdlingOil>
          <d4p1:IdlingTime>32</d4p1:IdlingTime>
          <d4p1:LowSpeedingMileage>30</d4p1:LowSpeedingMileage>
          <d4p1:LowSpeedingOil>31</d4p1:LowSpeedingOil>
          <d4p1:LowSpeedingTime>29</d4p1:LowSpeedingTime>
          <d4p1:MediumSpeedingMileage>27</d4p1:MediumSpeedingMileage>
          <d4p1:MediumSpeedingOil>28</d4p1:MediumSpeedingOil>
          <d4p1:MediumSpeedingTime>26</d4p1:MediumSpeedingTime>
          <d4p1:Mileage>8</d4p1:Mileage>
          <d4p1:OverSpeed>13</d4p1:OverSpeed>
          <d4p1:SlowDown>14</d4p1:SlowDown>
          <d4p1:SpeedUp>15</d4p1:SpeedUp>
          <d4p1:SpeedingMileage>21</d4p1:SpeedingMileage>
          <d4p1:SpeedingOil>22</d4p1:SpeedingOil>
          <d4p1:SpeedingTime>20</d4p1:SpeedingTime>
          <d4p1:StartAddress>sample string 5</d4p1:StartAddress>
          <d4p1:StartTime>sample string 4</d4p1:StartTime>
          <d4p1:Status>2</d4p1:Status>
          <d4p1:StopTime>3</d4p1:StopTime>
          <d4p1:TravelAvgFuel>12</d4p1:TravelAvgFuel>
          <d4p1:TravelAvgSpeed>11</d4p1:TravelAvgSpeed>
          <d4p1:TravelId>1</d4p1:TravelId>
          <d4p1:TravelTime>10</d4p1:TravelTime>
          <d4p1:TripID>sample string 17</d4p1:TripID>
          <d4p1:UrgentRefueling>36</d4p1:UrgentRefueling>
        </d4p1:TravelInfo>
      </Items>
      <Month>sample string 1</Month>
      <TotalFastTurn>12</TotalFastTurn>
      <TotalFeul>7</TotalFeul>
      <TotalIdles>11</TotalIdles>
      <TotalMileage>2</TotalMileage>
      <TotalOverspeed>8</TotalOverspeed>
      <TotalSlowDown>9</TotalSlowDown>
      <TotalSpeedUp>10</TotalSpeedUp>
      <TotalTime>3</TotalTime>
      <TotalTrip>6</TotalTrip>
    </MonthlyTravel>
  </Items>
</TravelMonthlyListResult>