Source AL, 110 lines
src/Apps/W1/EDocument/App/src/Integration/EDocumentIntegration.Interface.allines 10 to 25 of 110, Copyright (c) Microsoft Corporation. MIT
interface "E-Document Integration"{ ObsoleteTag = '26.0'; ObsoleteState = Pending; ObsoleteReason = 'This interface is obsolete. Use Send, Receive and "Default Int. Actions" interfaces instead.'; /// <summary> /// Use it to send an E-Document to external service. /// </summary> /// <param name="EDocument">The E-Document record.</param> /// <param name="TempBlob">The tempblob that was created based on the E-Document format.</param> /// <param name="IsAsync">Is sending the document is async.</param> /// <remarks>If the E-Document is sent asynchronously, a background job will automatically get queued to fetch the response using GetResponse procedure.</remarks> /// <param name="HttpRequest">The HTTP request message object that you should use when sending the request.</param> /// <param name="HttpResponse">The HTTP response object that you should use when sending the request.</param> /// <remarks>If http request and response are populated, the response content and headers will be logged automatically to communication logs.</remarks>
All 110 lines
Public procedures 8 in 29
| Send(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage) | new in 23 |
| Pending, tag 26.0, obsolete since 26: Replaced by Send method in IDocumentSender interface. |
| SendBatch(var EDocuments: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage) | new in 23 |
| Pending, tag 26.0, obsolete since 26: Replaced by Send method in IDocumentSender interface. EDocument record will contain multiple records when using batch. |
| GetResponse(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Boolean | new in 23 |
| Pending, tag 26.0, obsolete since 26: Replaced by GetResponse method in IDocumentResponseHandler interface. Called if CU implementing IDocSender also implements IDocumentResponseHandler |
| GetApproval(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Boolean | new in 23 |
| Pending, tag 26.0, obsolete since 26: Replaced by GetApprovalStatus method in ISentDocumentActions interface. |
| Cancel(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Boolean | new in 23 |
| Pending, tag 26.0, obsolete since 26: Replaced by GetCancellationStatus method in ISentDocumentActions interface. |
| ReceiveDocument(var TempBlob: Codeunit "Temp Blob"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage) | new in 23 |
| Pending, tag 26.0, obsolete since 26: Replaced by ReceiveDocuments method in IDocumentReceiver interface. |
All 8 procedures
Implemented by 2
Changes 9 in 26
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | | | | | | | | | 1 | | | |
|---|
| Procedures | | | | | | | | | | 8 | | | |
|---|
| interface "E-Document Integration" | new in 23 |
| marked Pending, tag 26.0: This interface is obsolete. Use Send, Receive and "Default Int. Actions" interfaces instead. |
| Send(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage) | new in 23 |
| marked Pending, tag 26.0: Replaced by Send method in IDocumentSender interface. |
| SendBatch(var EDocuments: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; var IsAsync: Boolean; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage) | new in 23 |
| marked Pending, tag 26.0: Replaced by Send method in IDocumentSender interface. EDocument record will contain multiple records when using batch. |
| GetResponse(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Boolean | new in 23 |
| marked Pending, tag 26.0: Replaced by GetResponse method in IDocumentResponseHandler interface. Called if CU implementing IDocSender also implements IDocumentResponseHandler |
| GetApproval(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Boolean | new in 23 |
| marked Pending, tag 26.0: Replaced by GetApprovalStatus method in ISentDocumentActions interface. |
| Cancel(var EDocument: Record "E-Document"; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage): Boolean | new in 23 |
| marked Pending, tag 26.0: Replaced by GetCancellationStatus method in ISentDocumentActions interface. |
All 9 changes in 23-29