How to get the default values for dropdown field using Rest api ?

vidhya5
Kilo Contributor

How to get the default values for dropdown field using Rest api ?

1 REPLY 1

Tony Chatfield1
Kilo Patron

Hi, As you rest query returns only the values populated into the target record fields, if you want all possible options for the field on that record you would need to make a separate query to the source table, normally either sys_choice (a choice list) or the underpinning reference table. If doing this you will need to ensure that you apply filtering to ensure only valid results are returned. IE a query to sys_choice will need to include a filter for your target records 'table' and may also need to match dependencies to values on your target record.