Get dropdown options for a Person Field
Changed on| ⚠️ This endpoint is currently in BETA |
|---|
Returns the dropdown options for a specific dropdown or ranked-dropdown field on a Person.
Use the returned dropdown option IDs when writing dropdown field values via the field update endpoints.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/persons/fields/{fieldId}/dropdown-options
- AuthHTTP bearer
Path parameters
Field ID
Query parameters
Cursor for the next or previous page
Number of items to include in the page
Response
OK
Example response
{
"data": [
{
"id": 1,
"text": "Active"
}
],
"pagination": {
"prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
"nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
}
}Changes
- info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status - info
added
dropdownranked-dropdowndiscriminator mapping keys to the/response property for the response status - info
removed from the
/response propertyoneOflist for the response status
- info