1. Home
  2. Developer Guide
  3. Rest API
  4. Important Notes

Important 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”.

Was this article helpful to you? Yes No

How can we help?