fx-trades
5 endpoints · /api/erp/v1/fx-trades
Request examples are generated from each endpoint's REAL method and path. 5 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
Döviz alım/satım işlemi oluştur (başlık + satırlar + account_ledger çift-bacak atomik).
Oturum
erp.accounts.manage (döviz kasa/banka para hareketi).
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/fx-trades" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Tek döviz işlemini satırlarıyla getir. erp.accounts.view.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/fx-trades/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Döviz işlemini iptal et (confirmed→cancelled + telafi edici ters ledger). erp.accounts.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/fx-trades/<id>/cancel" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Döviz işlemini e-Döviz belgesi gönderimi için kuyruğa al (stub seam; canlı EF15). erp.accounts.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/fx-trades/<id>/queue" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?