Referral Assignment Rule

The response representation for a single referral assignment rule.
JSON example
1{
2  "isSuccess": true,
3  "httpStatusCode": 200,
4  "ruleApiName": "Assign_big_home_loans_to_UserB_1779624043348",
5  "name": "Assign big home loans to User B",
6  "description": "High-value home-loan referrals routed to the senior loan officer.",
7  "status": "Active",
8  "sortOrder": 10,
9  "ruleLogicalExpression": "1 AND 2",
10  "conditions": [
11    {
12      "fieldApiName": "Referral_Product__c",
13      "operator": "Equals",
14      "values": ["homeloan"],
15      "sortOrder": 1
16    },
17    {
18      "fieldApiName": "Referral_Value__c",
19      "operator": "GreaterThan",
20      "values": ["500000"],
21      "sortOrder": 2
22    }
23  ],
24  "assignee": {
25    "type": "USER",
26    "id": "005xx0000002BBBBB2"
27  }
28}
Properties
Property Name Type Description
isSuccess Boolean Indicates whether the API operation is successful (true) or not (false).
httpStatusCode Integer HTTP status code that indicates the result of the API operation.
ruleApiName String API name of the rule.
name String Display name of the referral assignment rule.
description String Description of the referral assignment rule.
status String Current status of the referral assignment rule, such as Draft, Active, or Inactive.
sortOrder Integer Execution sort order of the rule.
ruleLogicalExpression String Logical expression that determines how conditions are evaluated when a rule has more than one condition. For example, 1 AND 2 AND 3, 1 OR 2 OR 3, or a custom expression such as 1 AND (2 OR 3).
conditions Referral Assignment Rule Condition[] Criteria that a referral must satisfy for this assignment rule to match. See Referral Assignment Rule Condition.
assignee Referral Assignment Rule Assignee User or queue that receives referrals matching this rule. See Referral Assignment Rule Assignee.