---
schema_version: "1"
id: e1792509b8accc49d697d5b6546bbc729af9bf1ca4c24c270bae1814783cf44c
title: Referral Assignment Rule
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/connect_responses_referral_assignment_rule_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_referral_assignment_rule_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d8f313944d6130eee70ccfd580bb8874822c278bf4af94adebbcd9a90aba2da8
description: The response representation for a single referral assignment rule.
---
# Referral Assignment Rule

The response representation for a single referral assignment rule.

## JSON Example

{
  "isSuccess": true,
  "httpStatusCode": 200,
  "ruleApiName": "Assign\_big\_home\_loans\_to\_UserB\_1779624043348",
  "name": "Assign big home loans to User B",
  "description": "High-value home-loan referrals routed to the senior loan officer.",
  "status": "Active",
  "sortOrder": 10,
  "ruleLogicalExpression": "1 AND 2",
  "conditions": \[
    {
      "fieldApiName": "Referral\_Product\_\_c",
      "operator": "Equals",
      "values": \["homeloan"\],
      "sortOrder": 1
    },
    {
      "fieldApiName": "Referral\_Value\_\_c",
      "operator": "GreaterThan",
      "values": \["500000"\],
      "sortOrder": 2
    }
  \],
  "assignee": {
    "type": "USER",
    "id": "005xx0000002BBBBB2"
  }
}

## 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](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_referral_assignment_rule_condition_output.htm "A condition returned as part of a referral assignment rule."). |
| assignee | Referral Assignment Rule Assignee | User or queue that receives referrals matching this rule. See [Referral Assignment Rule Assignee](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_referral_assignment_rule_assignee_output.htm "The assignee returned as part of a referral assignment rule."). |