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.
| Alan | Format | Öncelik | Açıklama |
|---|---|---|---|
Id | Guid | 1 | Silinecek kaydın sistem ID'si. |
ErpCode | String | 2 | Silinecek kaydın ERP kodu. |
currentAccountId | Guid | 3 | Cari hesabın sistem ID'si. |
currentAccountErpCode | String | 4 | Cari 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."
}