Newer Version Available

This content describes an older version of this product. View Latest

Assignment Rule Header

The Assignment Rule header is a request header applied when creating or updating Cases or Leads. If enabled, the active assignment rules are used. If disabled, the active assignment rules are not applied. If a valid AssignmentRule ID is provided, the AssignmentRule is applied. If the header is not provided with a request, REST API defaults to using the active assignment rules.

Header Field Name and Values

Field name
SForce-Auto-Assign
Field values
  • TRUE. Active assignment rules are applied for created or updated Cases or Leads. This is the default if the header is not provided in the request.
  • FALSE. Active assignment rules are not applied for created or updated Cases or Leads.
  • Valid AssignmentRule ID. The given AssignmentRule is applied for created Cases or Leads.

The TRUE and FALSE values are not case-sensitive.

Example
SForce-Auto-Assign: FALSE