Defteri iptal eder.
Yanıt alanları:
| Alan | Açıklama |
|---|---|
Content |
İşlem sonucu mesajı (Dosya silme başarılı). |
Hata yönetimi: Hatalar SOAP Fault olarak dönmez. Hata durumunda normal yanıt döner ve
ERRORbloğu dolu gelir; her yanıtta önceERRORbloğu kontrol edilmelidir.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
SESSION_ID |
text |
Yes | Kimlik doğrulama servisi (AuthenticationWS) Login metodundan alınan oturum bilgisi. Tüm metotlarda zorunludur. |
UID |
text |
Yes | İptal edilecek defterin kimliği. |
CANCEL_REASON |
text |
No | İptal gerekçesi. |
Sample Response (XML)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:CancelLedgerResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<CancelLedger>
<Content>Dosya silme başarılı</Content>
</CancelLedger>
</ns2:CancelLedgerResponse>
</S:Body>
</S:Envelope>
Fault Response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:CancelLedgerResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<CancelLedger>
<ERROR>
<CODE>-1</CODE>
<MESSAGE>UUID zorunlu alandır, boş olamaz!</MESSAGE>
</ERROR>
</CancelLedger>
</ns2:CancelLedgerResponse>
</S:Body>
</S:Envelope>