Custom Attributes
Add options to a project custom attribute
Changed onAdds one or more selectable options to an existing options-type custom attribute definition for project records.
The body accepts either a single option object or an array of them (max 100). Each option takes a value and an optional 1-based position; when position is omitted the option is appended to the end. Inserting at an occupied position shifts existing options down. Option values must be unique within the attribute (case-insensitive) — a duplicate returns 409. Adding options to a non-options attribute returns 422.
post/api/v1/projects/custom-attributes/{id}/options
Request
- Base URLhttps://api.recruitwithatlas.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Custom attribute definition identifier
Request body
Example request
{
"value": "Principal",
"position": 4
}Response
Options added to the project custom attribute definition
Example response
{
"data": {
"name": "Seniority Level",
"description": "Candidate's seniority level",
"type": "options",
"multipleValues": true,
"recordType": "contract",
"options": [
{
"value": "Senior"
}
]
}
}Changes
- info
response property
data/optionsdeprecated
- info
- info
added the optional property
to the response with the status
- info