Notes


1. Picklist Fields 


When sending picklist values to the Rest API, the picklist value “Name” must be used.

Example: if we have a “Country” picklist field with the following picklist values: (Label=“Lebanon”, Name=”Lebanon”), (Label=“France”, Name=”France”), (Label=“United Arab Emirates”, Name=”United_Arab_Emirates”), the picklist value to send to the API is “Lebanon”, “France” or “United_Arab_Emirates”.


2. Multi-Picklist Fields


When sending multi-picklist values to the Rest API, the multi-picklist value “Name” must be used. If we want to send multiple values, the multi-picklist values Name must be separated by a comma.

Example: if we have a “Visited Countries” multi-picklist field with the following values: (Label=“Lebanon”, Name=”Lebanon”), (Label=“France”, Name=”France”), (Label=“United Arab Emirates”, Name=”United_Arab_Emirates”), and we want to set the multi-picklist field value to the values “France” and “United Arab Emirates”, the field value to send to the API is “France,United_Arab_Emirates”.


3. SQL Keywords that can be used in the Select Query of the “Query” Method


3.1. LIMIT

We can use “LIMIT” SQL keyword when sending select queries to the “Query” Rest API method.

Example: “SELECT Id, Name FROM Lead LIMIT 10”.

 

 

Was this article helpful to you? Yes No

How can we help?