Robeeta Office GPS

Robeeta Office GPS

GPS API

Retrieves the latest status for each device, including its last known GPS location, the timestamp it was last active, and the most recent recorded speed.

Endpoint

POST https://api.gps.office.robeeta.com/Device/GetDeviceLogs

Authorization: Api key (query parameter)

Header: Content-Type: application/json

Request Body:

  • ApiKey: string - (required) API key for authorization

Response Body:

  • Response: string - Outcome of the request.
  • TotalRows: Total Device counts.
  • TotalPages: Page size returned.
  • DeviceLogs: array- List of device log objects containing telemetry data.
    • DeviceId (int): Internal identifier for the device.DeviceName (string): Friendly name of the device (e.g., truck label).
    • DepartmentName (string): Department associated with the device.
    • DeviceStatus (string): Current state (e.g., Active, Idle, Offline).
    • Model (string): Model identifier of the device.
    • OrgId (int): Organization context ID.
    • CompanyId (int): Company context ID.
    • CreatedDate (datetime): When this device record was created.
    • LastUpdated (datetime): Timestamp of the most recent telemetry.
    • LastLocation (string): GPS coordinates in latitude,longitude format.
    • Speed (double): Current speed of the device in km/h.
    • SpeedLimit (double): Configured speed threshold in km/h.
    • TotalDistanceKm (double): Derived distance in kilometers.
Sample Request:
https://api.gps.office.robeeta.com/Device/GetDeviceLogs?ApiKey={ApiKey}
        
Sample Response:
{
  "Response": "OK",  
  "DeviceLogs": [
    {      
       "DeviceId": 101,
       "DeviceName": "TRUCK-001",
       "DepartmentName": "Logistics",
       "DeviceStatus": "Active",
       "ModelName": "GPS-Tracker-X1",
       "OrgId": 10,
       "CompanyId": 1001,
       "CreatedDate": "2025-08-04T09:15:30Z",
       "LastSeen": "2025-08-04T11:20:45Z",
       "LastLocation": "12.9716,77.5946",
       "Speed": 62.5,
       "SpeedLimit": 80.0,       
       "TotalDistanceKm": 15.23,
    }
  ]
}
Response Example - Error
{
  "Response": "Invalid Apikey",  
  "DeviceLogs": []
}