Interface IDocumentReceiver

E-Document Core, Microsoft.eServices.EDocument.Integration.Interfaces

Source AL, 113 lines

src/Apps/W1/EDocument/App/src/Integration/Interfaces/IDocumentReceiver.Interface.allines 14 to 29 of 113, Copyright (c) Microsoft Corporation. MIT

interface IDocumentReceiver{    /// <summary>    /// Retrieves one or more documents from the API and returns the count of documents to be created.    /// </summary>    /// <param name="EDocumentService">The record representing the E-Document Service used for the API interaction.</param>    /// <param name="Documents">The temporary blob list used to store the received documents.</param>    /// <param name="ReceiveContext">The receive context used for managing HTTP requests and responses.</param>    /// <remarks>    /// Sends an HTTP request to the API to retrieve the documents.     /// The response is stored in the DocumentsMetadata list, and the count of documents is implicitly determined by the number of temp blobs added to the list.    /// </remarks>    /// <example>    /// This example demonstrates how to implement the <c>ReceiveDocuments</c> method:    /// <code>

All 113 lines

Public procedures 2 in 29

ReceiveDocuments(var EDocumentService: Record "E-Document Service"; DocumentsMetadata: Codeunit "Temp Blob List"; ReceiveContext: Codeunit ReceiveContext)new in 26
DownloadDocument(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; DocumentMetadata: Codeunit "Temp Blob"; ReceiveContext: Codeunit ReceiveContext)new in 26

Implemented by 2

codeunit 6128 "E-Document No Integration"E-Document Corenew in 23
enum 6151 "Service Integration"E-Document Corenew in 26