Object information
This API provides detailed information about a specific vehicle.
How to get data
Method
POST
Request address
To get the data, use the address: https://<server_address>/api/CRIT/api.php?node=<node_id>
Request parameters
To receive the data, you must send an authorized request and specify the function and the object:
-
Username — user login
-
Password — user password
-
functionName=api_objectdetails — command to get object details
-
parameters — IMEI of the object for which details are requested
-
node — the node number where the command should be executed
Response format: a single vehicle object.
Example request
POST https://<server_address>/api/CRIT/api.php?node=6
Content-Type: multipart/form-data
Username=TestName
Password= 123456
functionName=api_objectdetails
parameters=352217706092097
|
Response
{
"IMEI": "352016704092097",
"PLATE": "5209 ",
"INSTALLATIONDATE": "Dec 06, 2023",
"NAME": "",
"LATITUDE": 29.7682433,
"LONGITUDE": 39.9979749
}
|
The API response returns an object with vehicle information. Each field contains:
-
IMEI — identifier of the tracker installed in the vehicle
-
PLATE — vehicle license plate number
-
INSTALLATIONDATE — date when the tracker was installed in the vehicle
-
NAME — vehicle name
-
LATITUDE — current latitude of the vehicle location
-
LONGITUDE — current longitude of the vehicle location