Get the value of a provider variable. If the provider of the variable does not exist, returns empty string.
Enum "Provider ID RWU"
- Specifies the enum ID of RESTwithUS provider. If not provided, the function must be called after ENDPOINT function.Text
- Specifies the name of the provider variable.Text
Value of the provider variable. Returns empty string, if the provider or variable does not exist.
var
VariableValue: Text;
//Call with provider enum parameter
VariableValue := APIScriptRWU.GET_PROVIDER_VARIABLE("Provider ID RWU"::RWUTest, 'RequiredProvider')
//Call without provider enum parameter after the ENDPOINT function
APIScriptRWU.ENDPOINT(ProviderID::TestProvider,OperationID::TestProvider_GetAllCustomers);
VariableValue := GET_PROVIDER_VARIABLE('RequiredProvider');