Saltar al contenido principal
GET
/
v1
/
deadlines
/
notifications
Obtener notificaciones de plazos
curl --request GET \
  --url https://reporter.sandbox.lerian.net/v1/deadlines/notifications
import requests

url = "https://reporter.sandbox.lerian.net/v1/deadlines/notifications"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://reporter.sandbox.lerian.net/v1/deadlines/notifications', 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://reporter.sandbox.lerian.net/v1/deadlines/notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$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://reporter.sandbox.lerian.net/v1/deadlines/notifications"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://reporter.sandbox.lerian.net/v1/deadlines/notifications")
.asString();
require 'uri'
require 'net/http'

url = URI("https://reporter.sandbox.lerian.net/v1/deadlines/notifications")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "total": 1,
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000001",
      "name": "CADOC 4010",
      "description": "Informe regulatorio mensual",
      "type": "regulatory",
      "frequency": "monthly",
      "dueDate": "2026-07-31T00:00:00Z",
      "notifyDaysBefore": 5,
      "color": "#ef4444"
    }
  ]
}
{
"code": "TPL-0017",
"title": "Bad Request",
"message": "The server could not understand the request due to malformed syntax. Please check the listed fields and try again."
}

Encabezados

X-Organization-id
string

El identificador único de la Organización asociada a la solicitud.

Parámetros de consulta

limit
integer
predeterminado:10

Número máximo de notificaciones que se devuelven. Debe ser un entero entre 1 y 100.

Respuesta

La lista de notificaciones de plazos activos dentro de su ventana de alerta.

items
object[]

Notificaciones de plazos dentro de su ventana de alerta, ordenadas por urgencia.

total
integer

Número de notificaciones devueltas.