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 excepciones operativas
Lista las excepciones operativas que muestra el panel gerencial (existencias por vencer o bajas, excepciones de entrega, diferencias en la recepción, aprobaciones pendientes) en un orden de prioridad estable, cada una con un id de drill-down y un descriptor de evidencia. Requiere analytics:read. Determinístico; se calcula en vivo sobre los datos de la clínica dental.
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>"
}Autorizaciones
Clave de API opaca mvy_test_ enviada como token Bearer. El servidor deriva de ella exactamente una clínica dental; la ruta nunca lleva un selector de clínica dental.
Parámetros de consulta
Limita las excepciones de existencias (bajas o por vencer) a un insumo del catálogo.
Respuesta
Las excepciones operativas priorizadas.
Cuándo se calculó el reporte.
live true cuando una lectura acotada alcanzó su tope: la lista contiene solo las primeras filas.
Show child attributes
Show child attributes
Show child attributes
Show child attributes