ERP

forecasts

3 endpoints · /api/erp/v1/forecasts

Request examples are generated from each endpoint's REAL method and path. 3 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/erp/v1/forecasts/sales

List sales forecasts

Oturum
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/forecasts/sales" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/erp/v1/forecasts/sales

Run sales forecast

Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/forecasts/sales" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/erp/v1/forecasts/sales/accuracy

Kapanmış dönemlerin gerçekleşenini doldur. ⭐ AYNI süzgeçle ölçülür; farklı bir süzgeç

Oturum

"tahmin tutmadı" derken iki ayrı tanımı karşılaştırmak olurdu.

İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/forecasts/sales/accuracy" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?