Defterin XML içeriğini döner. UID, CreateLedger yanıtındaki UID ya da GetLedgers içindeki PROCESS_ID değeridir.
Yanıt: XML içeriği Content alanında döner.
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 | Defter/süreç kimliği (CreateLedger yanıtındaki UID ya da GetLedgers içindeki PROCESS_ID). |
Ornek Yanit (XML)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:GetLedgerXmlResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<GetLedgerXml>
<Content><?xml version="1.0" encoding="UTF-8"?>...</Content>
</GetLedgerXml>
</ns2:GetLedgerXmlResponse>
</S:Body>
</S:Envelope>
Hata Yaniti (Fault)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:GetLedgerXmlResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<GetLedgerXml>
<ERROR>
<CODE>-1</CODE>
<MESSAGE>UUID zorunlu alandır, boş olamaz!</MESSAGE>
</ERROR>
</GetLedgerXml>
</ns2:GetLedgerXmlResponse>
</S:Body>
</S:Envelope>