Belirli bir yevmiye maddesini döner. ENTRY_NUMBER arka uçta linenumbercounter değerine karşılık gelir.
Yanıt: İçerik 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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
SESSION_ID |
text |
Yes | Kimlik doğrulama servisi (AuthenticationWS) Login metodundan alınan oturum bilgisi. Tüm metotlarda zorunludur. |
PERIOD |
text |
Yes | Dönem, YYYYMM. |
ENTRY_NUMBER |
text |
Yes | Yevmiye madde numarası (arka uçta linenumbercounter). |
TYPE |
text |
Yes | Defter tipi. |
BRANCH_CODE |
text |
No | Şube kodu. |
Sample Response (XML)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:GetLedgerEntryResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<GetLedgerEntry>
<Content>...</Content>
</GetLedgerEntry>
</ns2:GetLedgerEntryResponse>
</S:Body>
</S:Envelope>
Fault Response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:GetLedgerEntryResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<GetLedgerEntry>
<ERROR>
<CODE>-1</CODE>
<MESSAGE>ENTRY_NUMBER zorunlu alandır, boş olamaz!</MESSAGE>
</ERROR>
</GetLedgerEntry>
</ns2:GetLedgerEntryResponse>
</S:Body>
</S:Envelope>