POST /api/v1/notifications/queries
Questa route consente di creare una query per le notifiche.
Richiesta autenticazione
Si.
Corpo della richiesta
Codifica: application/json
Nome | Tipo | Descrizione | Esempio |
---|---|---|---|
good_id |
string |
Identificativo della merce | "b55a6a92-6c3e-4934-9392-d6a40d940c81" |
operator |
string |
Operatore logico da utilizzare nella query | "<" |
threshold |
int |
Valore numerico della query | "10" |
Risposta: 200
L'operazione รจ stata eseguita con successo.
Codifica: application/json
Nome | Tipo | Descrizione | Esempio |
---|---|---|---|
query_id |
string |
Identificativo della query creata | 876f754f-e7da-4f07-b6de-258bbfb384bc |