Vai al contenuto principale
POST
/
sla
/
schedules
/
{scheduleId}
/
run
Esegui un Report su Richiesta
curl --request POST \
  --url https://api.altostrat.io/sla/schedules/{scheduleId}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from_date": "2025-10-01",
  "to_date": "2025-10-31"
}'
{
  "message": "Generazione del report in corso."
}

Authorizations

Authorization
string
header
required

Inserisci il tuo token di autenticazione.

Path Parameters

scheduleId
string
required

L'identificatore univoco per la pianificazione del report SLA da eseguire, con prefisso sla_.

Example:

"sla_2ayc4Yy6w3g7Y2j4g4g4Yy6w3g7"

Body

application/json

L'intervallo di date per il report su richiesta.

Specifica l'intervallo di date per l'esecuzione di un report su richiesta.

from_date
string<date>
required

La data di inizio per i dati del report (inclusa), in formato AAAA-MM-GG. Deve essere precedente a to_date e a domani.

Example:

"2025-10-01"

to_date
string<date>
required

La data di fine per i dati del report (inclusa), in formato AAAA-MM-GG. Deve essere successiva a from_date e precedente a domani.

Example:

"2025-10-31"

Response

Accettato. La generazione del report è stata accodata con successo.

message
string
Example:

"Generazione del report in corso."