İzibiz Developer Portal
SOAP WS · Bulut e-Defter WS (ELedgerService)

Defter Görüntüleme (ViewLedger)

SOAPViewLedger

Defterin HTML görüntüsünü UID üzerinden döner.

Yanıt: HTML 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 ERROR bloğu dolu gelir; her yanıtta önce ERROR bloğu kontrol edilmelidir.

Parameters

NameTypeRequiredDescription
SESSION_ID text Yes Kimlik doğrulama servisi (AuthenticationWS) Login metodundan alınan oturum bilgisi. Tüm metotlarda zorunludur.
UID text Yes Defter/süreç kimliği.

Sample Response (XML)

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:ViewLedgerResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
         <ViewLedger>
            <Content>&lt;html&gt;...&lt;/html&gt;</Content>
         </ViewLedger>
      </ns2:ViewLedgerResponse>
   </S:Body>
</S:Envelope>

Fault Response

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:ViewLedgerResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
         <ViewLedger>
            <ERROR>
               <CODE>-1</CODE>
               <MESSAGE>UUID zorunlu alandır, boş olamaz!</MESSAGE>
            </ERROR>
         </ViewLedger>
      </ns2:ViewLedgerResponse>
   </S:Body>
</S:Envelope>