Referral Assignment Rule List

The response representation containing all referral assignment rules sorted by sequence number.

JSON Example 

1{
2  "isSuccess": true,
3  "httpStatusCode": 200,
4  "totalRulesCount": 2,
5  "rules": [
6    {
7      "isSuccess": true,
8      "httpStatusCode": 200,
9      "ruleApiName": "Assign_big_home_loans_to_UserB_1779624043348",
10      "name": "Assign big home loans to User B",
11      "description": "High-value home-loan referrals routed to the senior loan officer.",
12      "status": "Active",
13      "sortOrder": 10,
14      "ruleLogicalExpression": "1 AND 2",
15      "conditions": [
16        {
17          "fieldApiName": "Referral_Product__c",
18          "operator": "Equals",
19          "values": ["homeloan"],
20          "sortOrder": 1
21        },
22        {
23          "fieldApiName": "Referral_Value__c",
24          "operator": "GreaterThan",
25          "values": ["500000"],
26          "sortOrder": 2
27        }
28      ],
29      "assignee": {
30        "type": "USER",
31        "id": "005xx0000002BBBBB2"
32      }
33    }
34  ]
35}

Properties 

Property NameTypeDescription
isSuccessBooleanIndicates whether the API operation is successful (true) or not (false).
httpStatusCodeIntegerHTTP status code that indicates the result of the API operation.
totalRulesCountIntegerTotal number of assignment rules that the API returns.
rulesReferral Assignment Rule[]List of referral assignment rules and their details. See Referral Assignment Rule.