Skip to content

Repair (service) records

/api/v1/servis-kayitlari/{kayit}/durum — PUT

Section titled “/api/v1/servis-kayitlari/{kayit}/durum — PUT”
PUT/api/v1/servis-kayitlari/{kayit}/durum

Sets the status of a repair record opened during a call: alindi (received), inceleniyor (diagnosing), onay_bekliyor (awaiting approval), parca_bekleniyor (waiting for parts), hazir (ready), teslim_edildi (delivered); optional tahmini_tarih. When the customer calls, the assistant tells them this status and date. kayit: the request id (UUID) or number (TLP-000012). Sending the same status and date again returns degisti: false. With teklif_tutari (and Automation rules on) the customer is asked to approve the repair price; no payment is taken.

  • Authentication: Authorization: Bearer rz_live_…
  • Scope: servis:write
  • Plan feature: none (available on every plan)
  • Idempotency-Key: optional (recommended for retries)
NameInTypeLimitsMeaning
kayit *pathstringThe repair record’s request id (UUID) or number (TLP-000012).

Fields marked * are required. Unknown fields are rejected with 422.

ServiceStatusIn

FieldTypeLimitsMeaning
durum *string
tahmini_tarihstring (date) | null
tarihi_kaldirbooleandefault false
teklif_tutarinumber | string | null^(?!^[-+.]*$)[+-]?0*(?:\d{0,10}|(?=[\d.]{1,13}0*$)\d{0,10}\.\d{0,2}0*$)
Terminal window
curl -s -X PUT "$RZ_API/api/v1/servis-kayitlari/TLP-000012/durum" -H "Authorization: Bearer $RZ_KEY" -H "Content-Type: application/json" \
-d '{"durum": "parca_bekleniyor", "tahmini_tarih": "2026-11-05"}'

Error statuses: 401, 403, 404, 413, 422, 429 — see Errors and limits.


/api/v1/servis-kayitlari/{kayit}/onay — POST

Section titled “/api/v1/servis-kayitlari/{kayit}/onay — POST”
POST/api/v1/servis-kayitlari/{kayit}/onay

Records the customer’s decision on the repair price (onaylandi approved / reddedildi declined), for decisions taken at the service desk or by phone. 409 no_quote if no quote is pending, 410 expired if it expired, 409 already_decided if a decision exists.

  • Authentication: Authorization: Bearer rz_live_…
  • Scope: servis:write
  • Plan feature: Automation rules — if off, the endpoint answers 404 not_found
  • Idempotency-Key: optional (recommended for retries)
NameInTypeLimitsMeaning
kayit *pathstringThe repair record’s request id (UUID) or number (TLP-000012).

Fields marked * are required. Unknown fields are rejected with 422.

ServiceApprovalIn

FieldTypeLimitsMeaning
karar *string
Terminal window
curl -s -X POST "$RZ_API/api/v1/servis-kayitlari/TLP-000012/onay" -H "Authorization: Bearer $RZ_KEY" -H "Content-Type: application/json" \
-d '{"karar": "onaylandi"}'

Error statuses: 401, 403, 404, 413, 422, 429 — see Errors and limits.