get https://api.bamboohr.com/api/gateway.php//v1/meta/lists/
This endpoint will return details for all list fields. Lists that can be edited will have the "manageable" attribute set to yes. Lists with the "multiple" attribute set to yes are fields that can have multiple values. Options with the "archived" attribute set to yes should not appear as current options, but are included so that historical data can reference the value.
Sample Response
{
"fieldId": 17,
"alias": "department",
"manageable": "yes",
"multiple": "no",
"name": "Department",
"options": [{
"id": 1,
"archived": "no",
"createdDate": "",
"archivedDate": "",
"name": "ABC"
},
{
"id": 2,
"archived": "no",
"createdDate": "2016-12-08T17:41:56+00:00",
"archivedDate": "",
"name": "DEF"
}
]
}
<lists>
<list fieldId="17" alias="department" manageable="yes" multiple="no">
<name>Department</name>
<options>
<option id="1" archived="no">ABC</option>
<option id="2" archived="no">DEF</option>
</options>
</list>
</lists>