Oluşturulan defteri GİB'e gönderir.
Yanıt alanları:
| Alan | Açıklama |
|---|---|
Content |
İşlem sonucu mesajı (GİB' e dosya gönderme 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.
Parametreler
| Ad | Tip | Zorunlu | Aciklama |
|---|---|---|---|
SESSION_ID |
text |
Evet | Kimlik doğrulama servisi (AuthenticationWS) Login metodundan alınan oturum bilgisi. Tüm metotlarda zorunludur. |
UID |
text |
Evet | Gönderilecek defterin kimliği. |
Ornek Yanit (XML)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:SendToGibLedgerResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<SendToGibLedger>
<Content>GİB' e dosya gönderme başarılı</Content>
</SendToGibLedger>
</ns2:SendToGibLedgerResponse>
</S:Body>
</S:Envelope>
Hata Yaniti (Fault)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:SendToGibLedgerResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<SendToGibLedger>
<ERROR>
<CODE>-1</CODE>
<MESSAGE>UUID zorunlu alandır, boş olamaz!</MESSAGE>
</ERROR>
</SendToGibLedger>
</ns2:SendToGibLedgerResponse>
</S:Body>
</S:Envelope>