Get Business Central landing page URL for selected operation. Landing page is used after successul OAuth redirect from an external authentication service to process the results and it is usually sent in URL parameters (e.g. redirect_uri=...
)
Enum "Provider ID RWU"
- Specifies the enum ID of RESTwithUS provider.Enum "Operation ID RWU"
- Specifies the enum ID of RESTwithUS operation.Text
Business Central landing page URL for selected operation.
//Get the BC landing page for current operation and add it to URL parameters
RedirectUrl := APIScriptRWU.GET_ENDPOINT_REDIRECTURL("Provider ID RWU"::RWUTest, "Operation ID RWU"::RWUTest_OAuthRedirect);
APIScriptRWU.ADD_VARIABLE('','RedirectUri', RedirectUrl);