{ "sections": [ "title", "description", "fields", "usage", "wsdl_segment", "field_reference" ], "title": "AssignmentRule - Data API", "description": "Represents an assignment rule associated with a Case or Lead.", "fields_columns": [ "type", "properties", "description" ], "fields": { "Active": { "type": "boolean", "properties": "Defaulted on create, Filter, Group, Sort", "description": "Indicates whether this assignment rule is active (true) or not (false)." }, "Name": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "Name of this assignment rule." }, "SobjectType": { "type": "picklist", "properties": "Filter, Group, Nillable, Restricted picklist, Sort", "description": "Type of assignment rule—Case or Lead." } }, "usage": "Before creating or updating a new Case or Lead, a client application can query (by name) the AssignmentRule to obtain the ID of the assignment rule to use, and then assign that ID to the assignmentRuleId field of the AssignmentRuleHeader. The AssignmentRuleHeader can be set using either SOAP API or REST API. Assignment rules can also be specified when creating or upserting Case or Lead objects via the Bulk API or the Bulk 2.0 API.\n\nBefore creating or updating a new Case or Lead, a client application can query (by name) the AssignmentRule to obtain the ID of the assignment rule to use, and then assign that ID to the assignmentRuleId field of the AssignmentRuleHeader. The AssignmentRuleHeader can be set using either SOAP API or REST API.\n\nAssignment rules can also be specified when creating or upserting Case or Lead objects via the Bulk API or the Bulk 2.0 API.", "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n```", "field_reference": { "Active": { "field_label": "Active", "type": "boolean" }, "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "Id": { "field_label": "Rule ID", "type": "id", "length": "18" }, "LastModifiedById": { "field_label": "Last Modified By ID", "type": "reference", "length": "18" }, "LastModifiedDate": { "field_label": "Last Modified Date", "type": "datetime" }, "Name": { "field_label": "Name", "type": "string", "length": "120" }, "SobjectType": { "field_label": "SObject Type", "type": "picklist", "length": "40" }, "SystemModstamp": { "field_label": "System Modstamp", "type": "datetime" } }, "field_reference_columns": [ "field_label", "type", "length" ] }