ERP

fx-revaluations

6 endpoints · /api/erp/v1/fx-revaluations

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.

GET/api/erp/v1/fx-revaluations

Değerleme koşuları listesi (finance.view).

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

Dönem sonu kur değerleme koşusu çalıştır (EF4 accounts.manage): açık FX cari+nakit → değerleme dekontu.

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

Değerleme koşusu detay raporu (koşu + satırlar; finance.view).

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

List fx revaluation gl postings

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

Değerleme koşusunu GL 646/656 mahsup fişine POST et (run_id path).

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

Değerleme koşusunu geri al (reversed).

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