ERP

accounts

9 endpoints · /api/erp/v1/accounts

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

GET/api/erp/v1/accounts

List accounts

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

Create account

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

Set account active

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

Get bank card

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

Set bank card

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

Account statement

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

Nakit pozisyonu — tüm hesapların bakiyesi (EF4 finance.view).

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

Nakit pozisyon özeti — tür+para birimi kırılımı (EF4 finance.view).

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

Account transfer

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