Ana içeriğe geç

Cari Hesap Hareketi Silme

Açıklama

Bir cari hesap hareketini Id, ErpCode, currentAccountId veya currentAccountErpCode referanslarından biriyle pasife çeker (Soft Delete).

  • Endpoint: /cat/cat?erpCode={erpCode}&CurrentAccountErpCode={CurrentAccountErpCode}
  • Method: DELETE

Request Body

Silinecek kaydı belirtmek için aşağıdaki alanlardan en az biri dolu olmalıdır. Sistem, belirtilen öncelik sırasına göre ilk bulduğu parametreyi dikkate alır.

AlanFormatÖncelikAçıklama
IdGuid1Silinecek kaydın sistem ID'si.
ErpCodeString2Silinecek kaydın ERP kodu.
currentAccountIdGuid3Cari hesabın sistem ID'si.
currentAccountErpCodeString4Cari hesabın ERP kodu.

İstek Örneği

  • Header: Authorization: Bearer {token}, Content-Type: application/json
  • Body: JSON

Başarılı İstek (Request)

Başarılı Yanıt (Response)

{  
"deletedCount": 1,
"status": "success",
"message": "Cari hesap hareketi silindi."
}