---
schema_version: "1"
id: fc937b134e3049d1140a49769e5310d50032579bd5a17e0492e28e32a334e77c
title: FormulaOperator
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_formulaoperator.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_formulaoperator.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c60c8776e981fc8966da0465b416f4d4045cf0d8da575d80d58c481f5a2ddea7
description: Represents an operator used when building a formula, including examples and uses. This object is available in Tooling API version 39.0 and later.
---
# FormulaOperator

Represents an operator used when building a formula, including examples and uses. This object is available in Tooling API version 39.0 and later.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/images/icon_note.png)

#### Note

In API version 45.0 and later, only users with the “ViewSetup and Configuration” permission can access FormulaOperator.

## Supported SOAP Calls

query()

## Supported REST HTTP Methods

GET

## Fields

| Field | Details |
| --- | --- |
| DurableId | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.



 |
| Label | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The formula operator label that appears in the user interface.



 |
| Name | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The name of the formula operator.



 |
| Value | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The value of the formula operator.



 |

## Query Examples

To get all formula operators available in FormulaOperator:

req.setEndpoint('http://**instance**.salesforce.com/services/data/v68.0/tooling/query?q=SELECT+name,+label,+value+FROM+FormulaOperator );
req.setMethod('GET');

To get formula operators by ID:

req.setEndpoint('http://**instance**.salesforce.com/services/data/v68.0/tooling/query?q=SELECT+name,+label,+value+FROM+FormulaOperator+WHERE+durableId='PLUS' );
req.setMethod('GET');