Kaizen #55 - Fields Metadata in Deals #API

Kaizen #55 - Fields Metadata in Deals #API

Hello everyone!
Welcome back to another week of Kaizen!
This week, we will discuss the Fields Metadata API for the Deals module.

The Fields Metadata API gives you information about each field in a module.
We will discuss every key and its purpose in this post.

Request URL (to get all fields from a module): {api-domain}/crm/v2/settings/fields?{module_API_name}
Request URL (to get a specific field from a module): {api-domain}/crm/v2/settings/fields/{field_ID}?{module_API_name}
Request method: GET

Sample response for {api-domain}/crm/v2/settings/fields?Deals



Keys in the response

Key
Data type
Description
system_mandatory
Boolean
Represents whether that field is system-mandatory during input.
webhook
Boolean
Represents whether that field can be accessed through a webhook.
json_type
String
Represents the JSON type of the field.
crypt
JSON Object
Represents the mode and status of encryption of the field.
"mode" can take the values "encryption", "decryption". 
"status" can take the values "1" (encrypted) and "2" ( encryption/decryption) is in progress. The value "null" represents the field is decrypted.
field_label
String
Represents the label of the field in the UI in the user's preferred language.
tooltip
JSON Object
Represents the name and the value of the tool tip, if you have provided one for the field. If there is no tooltip, this value is "null".
created_source
String
Represents where the field was created from. The possible values are "default", "extension", or "integration".
field_read_only
Boolean
Represents if the field is read-only or can be updated.
display_label
String
Represents the display name of the field in the UI. This field will not be translated to the user's preferred language.
read_only
Boolean
Represents if the field is read-only to the current user.
quick_sequence_number
String
Represents the position of the field in the UI.
businesscard_supported
Boolean
Represents if the current field can be added to the business card section on the Details view page of the record.
currency
JSON Object
Represents the "rounding option" and the "precision" of the currency-type field.
id
String
Represents the unique ID of the field.
custom_field
Boolean
Represents if the field is a custom field.
lookup
JSON Object
Represents that the field is a lookup and provides details such as the API name, module, ID, and display label of the module that this field is associated with.
visible
Boolean
Represents if the field is visible to the current user.
length
Integer
Represents the size of the field.
view_type
JSON Object
Represents if the field is available on the View, Edit, Quick Create, and Create pages of the module.
subform
JSON Object
Represents that the field is a part of a subform and gives details such as the subform module and its ID.
api_name
String
Represents the API name of the field.
unique
JSON Object
Represents that the field is marked unique and if it is case-sensitive.
history_tracking
Boolean
Represents if the field is involved in tracking the history of the record. Applies for the picklist fields in the Leads module.
data_type
String
Represents the CRM data type of the field as Owner lookup, currency, date etc.
formula
JSON Object
Represents that the field is a formula field and gives details about the formula used.
decimal_place
Integer
Represents the number of the decimal places allowed for the field.
mass_update
Boolean
Represents if the field can be considered for a mass update.
multiselectlookup
JSON Object
Represents that the field is a multi-select lookup field and gives details such as the display name, API name, linking module's name etc of the module that the field is associated with.
pick_list_values
JSON Array
Represents the possible  values of the picklist.
auto_number
JSON Object
Represents the details of the auto number field such as the prefix, suffix, and the starting number.

We hope you found this post useful. Write to us at support@zohocrm.com if you have any questions or let us know in the comments section.


Cheers!


















    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now