POST api/gps/rpactdetails

Request Information

URI Parameters

None.

Body Parameters

JsonGpsApiInputActivityDetail
NameDescriptionTypeAdditional information
IsGroupKm

boolean

None.

MinTime

integer

None.

VehiclePlate

string

None.

FromDate

date

None.

ToDate

date

None.

WithDriverInfo

boolean

None.

CustomerCode

string

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsGroupKm": true,
  "MinTime": 2,
  "VehiclePlate": "sample string 3",
  "FromDate": "2026-04-04T18:11:32.7196149+07:00",
  "ToDate": "2026-04-04T18:11:32.7196149+07:00",
  "WithDriverInfo": true,
  "CustomerCode": "sample string 7",
  "Key": "sample string 8"
}

application/xml, text/xml

Sample:
<JsonGpsApiInputActivityDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <CustomerCode>sample string 7</CustomerCode>
  <Key>sample string 8</Key>
  <FromDate>2026-04-04T18:11:32.7196149+07:00</FromDate>
  <ToDate>2026-04-04T18:11:32.7196149+07:00</ToDate>
  <VehiclePlate>sample string 3</VehiclePlate>
  <WithDriverInfo>true</WithDriverInfo>
  <IsGroupKm>true</IsGroupKm>
  <MinTime>2</MinTime>
</JsonGpsApiInputActivityDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonGpsApiRsRpActivityDetail
NameDescriptionTypeAdditional information
MessageResult

string

None.

ErrorType

integer

None.

ActivityDetails

Collection of RpActivityDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "ErrorType": 2,
  "ActivityDetails": [
    {
      "VehicleTypeName": "sample string 1",
      "VehiclePlate": "sample string 2",
      "ReportDate": "2026-04-04T18:11:32.7352423+07:00",
      "StartTime": "2026-04-04T18:11:32.7352423+07:00",
      "EndTime": "2026-04-04T18:11:32.7352423+07:00",
      "TotalTime": 6,
      "KmGPS": 7.1,
      "KmOfPulseMechanical": 8.1,
      "ConstantNorms": 9.1,
      "Norms": 10.1,
      "IsSupplemental": true,
      "StartLatitude": 12.1,
      "StartLongitude": 13.1,
      "EndLatitude": 14.1,
      "EndLongitude": 15.1,
      "PrivateCode": "sample string 16",
      "StartAddress": "sample string 17",
      "EndAddress": "sample string 18"
    },
    {
      "VehicleTypeName": "sample string 1",
      "VehiclePlate": "sample string 2",
      "ReportDate": "2026-04-04T18:11:32.7352423+07:00",
      "StartTime": "2026-04-04T18:11:32.7352423+07:00",
      "EndTime": "2026-04-04T18:11:32.7352423+07:00",
      "TotalTime": 6,
      "KmGPS": 7.1,
      "KmOfPulseMechanical": 8.1,
      "ConstantNorms": 9.1,
      "Norms": 10.1,
      "IsSupplemental": true,
      "StartLatitude": 12.1,
      "StartLongitude": 13.1,
      "EndLatitude": 14.1,
      "EndLongitude": 15.1,
      "PrivateCode": "sample string 16",
      "StartAddress": "sample string 17",
      "EndAddress": "sample string 18"
    }
  ]
}

application/xml, text/xml

Sample:
<JsonGpsApiRsRpActivityDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <ActivityDetails>
    <RpActivityDetail>
      <ConstantNorms>9.1</ConstantNorms>
      <EndLatitude>14.1</EndLatitude>
      <EndLongitude>15.1</EndLongitude>
      <EndTime>2026-04-04T18:11:32.7352423+07:00</EndTime>
      <IsSupplemental>true</IsSupplemental>
      <KmGPS>7.1</KmGPS>
      <KmOfPulseMechanical>8.1</KmOfPulseMechanical>
      <Norms>10.1</Norms>
      <ReportDate>2026-04-04T18:11:32.7352423+07:00</ReportDate>
      <StartLatitude>12.1</StartLatitude>
      <StartLongitude>13.1</StartLongitude>
      <StartTime>2026-04-04T18:11:32.7352423+07:00</StartTime>
      <TotalTime>6</TotalTime>
      <VehiclePlate>sample string 2</VehiclePlate>
      <VehicleTypeName>sample string 1</VehicleTypeName>
    </RpActivityDetail>
    <RpActivityDetail>
      <ConstantNorms>9.1</ConstantNorms>
      <EndLatitude>14.1</EndLatitude>
      <EndLongitude>15.1</EndLongitude>
      <EndTime>2026-04-04T18:11:32.7352423+07:00</EndTime>
      <IsSupplemental>true</IsSupplemental>
      <KmGPS>7.1</KmGPS>
      <KmOfPulseMechanical>8.1</KmOfPulseMechanical>
      <Norms>10.1</Norms>
      <ReportDate>2026-04-04T18:11:32.7352423+07:00</ReportDate>
      <StartLatitude>12.1</StartLatitude>
      <StartLongitude>13.1</StartLongitude>
      <StartTime>2026-04-04T18:11:32.7352423+07:00</StartTime>
      <TotalTime>6</TotalTime>
      <VehiclePlate>sample string 2</VehiclePlate>
      <VehicleTypeName>sample string 1</VehicleTypeName>
    </RpActivityDetail>
  </ActivityDetails>
  <ErrorType>2</ErrorType>
  <MessageResult>sample string 1</MessageResult>
</JsonGpsApiRsRpActivityDetail>