ERP

rediscount

6 endpoints · /api/erp/v1/rediscount

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

POST/api/erp/v1/rediscount/apply

Rediscount apply

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

Rediscount preview

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

Rediscount valuations

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

Değerlemeyi iptal et (tek kapı): açık-kalem değerlemesinde cari fişi iptal olur, evrak

OturumYol parametresi: id

değerlemesinde kayıt serbest bırakılır. Aktif GL mahsubu varken 409.

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

List rediscount gl postings

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

Reeskont değerlemesini GL 657/647 mahsup fişine POST et (valuation_id path).

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