1 S EW ELD

Vehicle Location API Documentation

Authorization

Request the carrier company to grant you with the token. The given token should be included in the 'Authorization' header for each request. Full control over the token management is done by the carrier company.

GET /vehicles/current

Description: Returns current information of the company vehicles.

Parameters

NameTypeMandatoryDefault value
pageIntegerNo0
sizeIntegerNo10

Request Sample

        
        curl -X 'GET'   'https://api.1s-eastwest-eld.com/logger/integrations/access/vehicles?page=0&limit=10'   -H 'accept: */*'   -H 'Authorization: Bearer {token}''
      

Response Structure

        
        {
  "result": {
    "code": "success",
    "message": "success"
  },
  "records": [...],
  "pagination": {
    "total_count": "total number of entries",
    "previous": "prior page index | null",
    "following": "next page index | null",
    "active": "active page index"
  }
}
      

Note: `pageable` is present only if response HTTP status is 200

Sample Response (HTTP 200)

        
        
  {
    "result": {
      "code": "success",
      "message": "success"
    },
    "records": [
      {
        "truck": {
          "truck_id": 1386,
          "brand": "TT",
          "type": "TT",
          "truck_vin_number": "3AKJHHDR5JSHU1245",
          "fleet_number": "11"
        },
        "operator_info": {
          "operator_id": 1231,
          "operator_name": "John H"
        },
        "position": {
          "truck_coordinates": {
            "truck_lat": 42.71968318087507,
            "truck_lng": -114.54129318087507
          },
          "adjacent_coordinates": {
            "adjacent_lat": 42.7247,
            "adjacent_lng": -114.518
          },
          "radius": 1.51,
          "region": "ID",
          "town": "Boise",
          "timestamp": "2026-02-06T12:13:44",
          "heading": "sw"
        },
        "dot_number": "444276",
        "fuel_level": null,
        "def_level": null
      },
      {
        "truck": {
          "truck_id": 1386,
          "brand": "TT",
          "type": "TT",
          "truck_vin_number": "3AKJHHDR5JSHU1245",
          "fleet_number": "11"
        },
        "operator_info": {
          "operator_id": 3311,
          "operator_name": "Jeremy Spens"
        },
        "position": {
          "truck_coordinates": {
            "truck_lat": 39.60898,
            "truck_lng": -76.01347
          },
          "adjacent_coordinates": {
            "adjacent_lat": 39.57,
            "adjacent_lng": -75.95
          },
          "radius": 3.81,
          "region": "MD",
          "town": "Cecil County",
          "timestamp": "2026-02-05T07:15:44",
          "heading": "nw"
        },
        "dot_number": "444276",
        "fuel_level": null,
        "def_level": null
      }
    ],
    "pagination": {
      "total_count": 2,
      "previous": null,
      "following": 1,
      "active": 0
    }
  }

      

Sample Response (HTTP 403 - Forbidden)

        
        {
  "result": {
    "code": "restricted",
    "message": "restricted"
  },
  "records": null
}
      

Sample Response (HTTP 401 - Unauthorized)

        
        {
  "result": {
    "code": "invalid_token",
    "message": "Invalid token"
  },
  "records": null
}
      

GET /vehicles/{unit_number}

Description: Returns current information of the company vehicle by unit number.

Request Sample

        
        curl -X 'GET'   'https://api.1s-eastwest-eld.com.net/logger/integrations/access/vehicles/{id}'   -H 'accept: */*'   -H 'Authorization: Bearer {token}'
      

Response Sample

        
        
  {
    "result": {
      "code": "success",
      "message": "success"
    },
    "record": {
      "truck": {
          "truck_id": 1386,
          "brand": "TT",
          "type": "TT",
          "truck_vin_number": "3AKJHHDR5JSHU1245",
          "fleet_number": "11"
      },
      "operator_info": {
        "operator_id": 1231,
          "operator_name": "John H"
      },
      "position": {
        "truck_coordinates": {
          "truck_lat": 42.71968318087507,
          "truck_lng": -114.54129318087507
        },
        "adjacent_coordinates": {
          "adjacent_lat": 42.7247,
          "adjacent_lng": -114.518
        },
        "radius": 1.51,
        "region": "ID",
        "town": "Boise",
        "timestamp": "2026-02-06T12:13:44",
        "heading": "sw"
      },
      "dot_number": "444276",
      "fuel_level": null,
      "def_level": null
    }
  }