Interface IDocumentResponseHandler
Source AL, 65 lines
src/Apps/W1/EDocument/App/src/Integration/Interfaces/IDocumentResponseHandler.Interface.allines 13 to 28 of 65, Copyright (c) Microsoft Corporation. MIT
interface IDocumentResponseHandler{ /// <summary> /// Retrieves the response from the external service for an asynchronously sent E-Document. /// </summary> /// <param name="EDocument">The record representing the E-Document for which the response is being retrieved.</param> /// <param name="EDocumentService">The record representing the E-Document Service containing service configuration.</param> /// <param name="SendContext">The context for the get response operation, providing access to resources and status updates.</param> /// <returns> /// <c>true</c> if the response was successfully received from the service, marking the E-Document Service Status as "Sent"; /// <c>false</c> if the response is not yet ready from the service, marking the E-Document Service Status as "Pending Response". /// </returns> /// <remarks> /// If a runtime error occurs or an error message is logged for the E-Document, the E-Document Service Status is set to "Sending Error", /// and no further retry attempts will be made. /// If the HTTP response is populated within <c>SendContext</c>, the response content and headers will be automatically logged to communication logs.Public procedures 1 in 29
| Get | new in 26 |