Web (Site Kurucu)

resources

2 endpoints · /api/web/v1/resources

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

PUT/api/web/v1/resources/{id}/hours

PUT /api/web/v1/resources/{id}/hours — haftalık saatleri TAMAMEN değiştir.

OturumYol parametresi: id

⚠ Kısmi güncelleme YOK: haftalık takvim bir BÜTÜNDÜR ve satır satır güncellenen bir takvimde "sildiğim gün geri geldi" durumu doğar.

İstek
curl -X PUT "https://{slug}--panel.web.blesyum.app/api/web/v1/resources/<id>/hours" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/web/v1/resources/{id}/time-off

POST /api/web/v1/resources/{id}/time-off (BLE22-14040)

OturumYol parametresi: id

🔴 İzin haftalık saatleri EZER: resmî tatilde "açığız" diyen bir takvim, müşteriyi kapalı bir kapıya yollar (künyenin istisna-gün kuralı).

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