Retrieve RUG guarantee
curl --request GET \
--url https://api.syntage.com/datasources/rug/garantias/{id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.syntage.com/datasources/rug/garantias/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.syntage.com/datasources/rug/garantias/{id}', 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.syntage.com/datasources/rug/garantias/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.syntage.com/datasources/rug/garantias/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.syntage.com/datasources/rug/garantias/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syntage.com/datasources/rug/garantias/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"@context": "/contexts/RugGarantia",
"@id": "/datasources/rug/garantias/99c13810-868f-482e-a6f1-878254248d27",
"@type": "RugGarantia",
"id": "99c13810-868f-482e-a6f1-878254248d27",
"numeroDeGarantia": 123456,
"fechaDeInscripcion": "2021-10-12T19:58:11.000Z",
"fechaDeCancelacion": "2023-03-12T00:00:00.000Z",
"otorgantes": [
{
"nombre": "El Otorgante de Garantías Mobiliarias, S.A. de C.V.",
"folioElectronico": "34011*7"
}
],
"acreedor": "Grupo Financiero Acreedor, S.A.P.I. de C.V., SOFOM E.N.R.",
"tipoDeGarantia": "factoraje_financiero",
"monto": 12345.67,
"moneda": "peso_mexicano",
"tipoDeLosBienes": [
"derechos_incluyendo_derechos_de_cobro"
],
"descripcionDeLosBienes": "Factura con el folio fiscal 99c13810-868f-482e-a6f1-878254248d27",
"fechaDeCelebracionDelActoOContrato": "2021-03-08T00:00:00.000Z",
"fechaDeTerminacionDelActoOContrato": "2022-03-08T00:00:00.000Z",
"operaciones": [
{
"@id": "/datasources/rug/operaciones/99c13810-868f-482e-a6f1-878254248d27",
"@type": "RugOperacion",
"id": "99c13810-868f-482e-a6f1-878254248d27",
"numeroDeAsiento": 12345678,
"tipo": "inscripcion",
"fecha": "2021-10-12T00:00:00.000Z",
"file": "/files/99c13810-868f-482e-a6f1-878254248d27",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
],
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}{
"message": "<string>"
}{
"message": "<string>"
}Garantias
Retrieve RUG guarantee
Retrieve one RUG guarantee by ID, including collateral details, creditor, grantors, contract dates, and related operations.
GET
/
datasources
/
rug
/
garantias
/
{id}
Retrieve RUG guarantee
curl --request GET \
--url https://api.syntage.com/datasources/rug/garantias/{id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.syntage.com/datasources/rug/garantias/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.syntage.com/datasources/rug/garantias/{id}', 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.syntage.com/datasources/rug/garantias/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.syntage.com/datasources/rug/garantias/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.syntage.com/datasources/rug/garantias/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syntage.com/datasources/rug/garantias/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"@context": "/contexts/RugGarantia",
"@id": "/datasources/rug/garantias/99c13810-868f-482e-a6f1-878254248d27",
"@type": "RugGarantia",
"id": "99c13810-868f-482e-a6f1-878254248d27",
"numeroDeGarantia": 123456,
"fechaDeInscripcion": "2021-10-12T19:58:11.000Z",
"fechaDeCancelacion": "2023-03-12T00:00:00.000Z",
"otorgantes": [
{
"nombre": "El Otorgante de Garantías Mobiliarias, S.A. de C.V.",
"folioElectronico": "34011*7"
}
],
"acreedor": "Grupo Financiero Acreedor, S.A.P.I. de C.V., SOFOM E.N.R.",
"tipoDeGarantia": "factoraje_financiero",
"monto": 12345.67,
"moneda": "peso_mexicano",
"tipoDeLosBienes": [
"derechos_incluyendo_derechos_de_cobro"
],
"descripcionDeLosBienes": "Factura con el folio fiscal 99c13810-868f-482e-a6f1-878254248d27",
"fechaDeCelebracionDelActoOContrato": "2021-03-08T00:00:00.000Z",
"fechaDeTerminacionDelActoOContrato": "2022-03-08T00:00:00.000Z",
"operaciones": [
{
"@id": "/datasources/rug/operaciones/99c13810-868f-482e-a6f1-878254248d27",
"@type": "RugOperacion",
"id": "99c13810-868f-482e-a6f1-878254248d27",
"numeroDeAsiento": 12345678,
"tipo": "inscripcion",
"fecha": "2021-10-12T00:00:00.000Z",
"file": "/files/99c13810-868f-482e-a6f1-878254248d27",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
],
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
Generate your API key in the Production or Sandbox dashboard. The key is shown in full only when it is generated or rotated, so copy it then.
Response
RUG garantia resource response
RUG guarantee resource
Type of movable collateral guarantee
Available options:
cesion_de_creditos, clausulas_rescisoria_y_de_reserva_de_dominio_en_compraventas_mercantiles, constituida_sobre_aeronave, constituida_sobre_embarcacion, derechos_de_retencion, derivada_de_un_arrendamiento_financiero, derivada_de_un_credito_de_habilitacion_o_avio, derivada_de_un_credito_refaccionario, derivada_de_un_fideicomiso_de_garantia, derivada_de_una_hipoteca_industrial, factoraje_financiero, otros_actos_gravamenes_o_afectaciones_sobre_bienes_muebles_en_los_que_el_acreedor_no_mantenga_la_posesion_sobre_los_mismos, prenda_ordinaria_mercantil_cuando_el_acreedor_prendario_no_mantenga_la_posesion_sobre_los_bienes, prenda_sin_transmision_de_posesion, privilegios_especiales Example:
"factoraje_financiero"
Types of collateral goods covered by the guarantee
Available options:
acciones_y_obligaciones_bonos_contratos_de_opcion_y_futuros, bienes_de_consumo, derechos_incluyendo_derechos_de_cobro, ganado, inventario, maquinaria_y_equipo, otros, productos_agricolas, vehiculos_de_motor Was this page helpful?