Method to return the reference data for the given listName.
{string} The reference data list name.
{boolean} Whether the archived values are to be included in the response. Used in edit mode.
Optional
parentCode: string{string} The code for a parent reference data field. Optional.
A promise that resolves to the reference data.
This section of the API relates to reference data.