Obtener GPS paginados con filtros (offset-based, legacy)
curl --request GET \
--url https://api.raul.ugps.io/api/v1/gps_details/all/paginated \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.raul.ugps.io/api/v1/gps_details/all/paginated"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.raul.ugps.io/api/v1/gps_details/all/paginated', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.raul.ugps.io/api/v1/gps_details/all/paginated",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.raul.ugps.io/api/v1/gps_details/all/paginated"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.raul.ugps.io/api/v1/gps_details/all/paginated")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.raul.ugps.io/api/v1/gps_details/all/paginated")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"gps_details_id": "<string>",
"gps_name": {},
"imei": {},
"number_phone": {},
"gps_model_id": {},
"gps_model_name": {},
"sim_deta_id": {},
"gps_inventory_id": {},
"gps_inventory_name": {},
"gps_platform_name": {},
"assigned_name": {},
"assigned_id": {},
"operator_name": {},
"gps_status_id": {},
"gps_status_name": {},
"updated_at": {},
"atlas_device_id": {},
"endpoint_id": {},
"endpoint_name": {},
"endpoint_status_id": {},
"endpoint_status_description": {}
}
],
"pagination": {
"total": 150,
"page": 1,
"limit": 50,
"totalPages": 3,
"hasNext": true
}
}GPS Details
Obtener GPS paginados con filtros (offset-based, legacy)
Entrega paginacion basada en page y limit. Mantener para compatibilidad con consumidores legacy; preferir cursor pagination en integraciones nuevas.
GET
/
api
/
v1
/
gps_details
/
all
/
paginated
Obtener GPS paginados con filtros (offset-based, legacy)
curl --request GET \
--url https://api.raul.ugps.io/api/v1/gps_details/all/paginated \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.raul.ugps.io/api/v1/gps_details/all/paginated"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.raul.ugps.io/api/v1/gps_details/all/paginated', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.raul.ugps.io/api/v1/gps_details/all/paginated",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.raul.ugps.io/api/v1/gps_details/all/paginated"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.raul.ugps.io/api/v1/gps_details/all/paginated")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.raul.ugps.io/api/v1/gps_details/all/paginated")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"gps_details_id": "<string>",
"gps_name": {},
"imei": {},
"number_phone": {},
"gps_model_id": {},
"gps_model_name": {},
"sim_deta_id": {},
"gps_inventory_id": {},
"gps_inventory_name": {},
"gps_platform_name": {},
"assigned_name": {},
"assigned_id": {},
"operator_name": {},
"gps_status_id": {},
"gps_status_name": {},
"updated_at": {},
"atlas_device_id": {},
"endpoint_id": {},
"endpoint_name": {},
"endpoint_status_id": {},
"endpoint_status_description": {}
}
],
"pagination": {
"total": 150,
"page": 1,
"limit": 50,
"totalPages": 3,
"hasNext": true
}
}Authorizations
Token de sesión Better Auth para rutas de backoffice; las rutas de portal usan su token propio.
Query Parameters
Filter by GPS status ID
Filter by GPS platform ID
Filter by client ID
Filter by GPS inventory ID
Required range:
x >= 1Required range:
1 <= x <= 100Available options:
asc, desc Search in IMEI or GPS name