How to get the default values for dropdown field using Rest api ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 09:45 AM
How to get the default values for dropdown field using Rest api ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 07:27 PM
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.