ERP

reconciliation-batches

8 uç · /api/erp/v1/reconciliation-batches

İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 8 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.

GET/api/erp/v1/reconciliation-batches

Batch'leri listele. erp.parties.view.

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

Toplu mutabakat mektubu batch'i oluştur (seçili/tüm carilere). erp.parties.manage.

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

Tek batch'i getir (effective-status düzeltmeli). erp.parties.view.

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

Batch'i iptal et. erp.parties.manage.

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

Batch'in işlerini listele. erp.parties.view.

OturumYol parametresi: id
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/reconciliation-batches/<id>/jobs" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/erp/v1/reconciliation-batches/{id}/progress

Batch ilerlemesi (iş durum dağılımı). erp.parties.view.

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

Due işleri stub-gönder (worker simülasyonu; fiili teslim = EF15). erp.parties.manage.

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

Öksüz 'sending' işleri geri al (visibility-timeout tabanı güvenli). erp.parties.manage.

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