curl --request GET \
--url https://api.muveya.com/v1/analytics/exceptions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/analytics/exceptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/analytics/exceptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"total": 123,
"timezone": "<string>",
"asOf": "2023-11-07T05:31:56Z",
"freshness": "live",
"evidenceId": "<string>",
"truncated": true,
"filters": {},
"exceptions": [
{
"metric": "LOW_STOCK",
"priority": 123,
"drillDownType": "order",
"drillDownId": "<string>",
"reference": {},
"evidenceId": "<string>",
"detectedAt": "2023-11-07T05:31:56Z"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}Listar exceções operacionais
Lista as exceções operacionais que o painel gerencial mostra (estoque a vencer ou baixo, exceções de entrega, divergências no recebimento, aprovações pendentes) em uma ordem de prioridade estável, cada uma com um id de drill-down e um descritor de evidência. Requer analytics:read. Determinístico; calculado ao vivo sobre os dados da clínica odontológica.
curl --request GET \
--url https://api.muveya.com/v1/analytics/exceptions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/analytics/exceptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/analytics/exceptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"total": 123,
"timezone": "<string>",
"asOf": "2023-11-07T05:31:56Z",
"freshness": "live",
"evidenceId": "<string>",
"truncated": true,
"filters": {},
"exceptions": [
{
"metric": "LOW_STOCK",
"priority": 123,
"drillDownType": "order",
"drillDownId": "<string>",
"reference": {},
"evidenceId": "<string>",
"detectedAt": "2023-11-07T05:31:56Z"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}Autorizações
Chave de API opaca mvy_test_ enviada como token Bearer. O servidor deriva dela exatamente uma clínica odontológica; o caminho nunca leva um seletor de clínica odontológica.
Parâmetros de consulta
Restringe as exceções de estoque (baixo ou a vencer) a um insumo do catálogo.
Resposta
As exceções operacionais priorizadas.
Quando o relatório foi calculado.
live true quando uma leitura limitada atingiu o teto: a lista contém apenas as primeiras linhas.
Show child attributes
Show child attributes
Show child attributes
Show child attributes