@Deprecated Collection<IntegrationRule> getIntegrationRules(String connectionId)
getIntegrationRules(GetIntegrationRulesRequest)
If there are no rules corresponding to the connection ID, this returns an empty collection. If the connection ID does not exist or is inactive, this throws an exception.
connectionId
- connection ID@Deprecated Collection<FieldRuleResult> evaluateFieldRules(IntegrationRule integrationRule, String targetName, JsonObject queryDescribe, JsonObject data)
evaluateFieldRules(EvaluateFieldRulesRequest)
For each field rule, returns the resulting value for a field based on the evaluation of the rule against a json query response record.
Throws an error if the target is not found in the query response.
integrationRule
- corresponding integrationRule componenttargetName
- name of target fieldqueryDescribe
- the metadata for the querydata
- json query response record@Deprecated Collection<IntegrationRule> getIntegrationRulesByIntegrationPoint(String connectionId, String integrationPointAPIName)
getIntegrationRules(GetIntegrationRulesRequest)
If there are no rules corresponding to the connection ID and integration point API name, this returns an empty collection. If the connection ID does not exist or is inactive, this throws an exception. If the integration point API name does not exist, this throws an exception.
connectionId
- connection IDintegrationPointAPIName
- integration point API nameGetIntegrationRulesRequestBuilder newGetIntegrationRulesRequestBuilder()
GetIntegrationRulesRequestBuilder
object.GetIntegrationRulesResponse getIntegrationRules(GetIntegrationRulesRequest getIntegrationRulesRequest)
IntegrationRules
corresponding to a Connection based on the
GetIntegrationRulesRequest
.
If there are no rules corresponding to the connection ID, this returns an empty Collection. If the connection ID does not exist or is inactive, this throws an exception.
getIntegrationRulesRequest
- the GetIntegrationRulesRequest to retrieve the integration rules fromEvaluateFieldRulesRequestBuilder newEvaluateFieldRulesRequestBuilder()
EvaluateFieldRulesRequestBuilder
object.EvaluateFieldRulesResponse evaluateFieldRules(EvaluateFieldRulesRequest evaluateFieldRulesRequest)
EvaluateFieldRulesRequest
.
Evaluates all field rules under the IntegrationRule
object with the given name. For each field rule,
returns the resulting value for a field based on the evaluation of the rule against a JSON query response record.
If an error occurs when evaluating a field rule, the error type and message are placed in the FieldRuleResult
.
evaluateFieldRulesRequest
- the EvaluateFieldRulesRequest object to evaluateCopyright © Veeva Systems 2017–2020. All rights reserved.