Options of a CHOICE field filtered by the current form.
POST
/erupt-api/comp/choice-item-filter/{erupt}/{field}
Same as choice-item but the ChoiceFetchHandler sees the form values, so options can depend on other fields.
Authorizations
tokenHeader
Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.
Type
API Key (header: token)
Parameters
Header Parameters
erupt*
Name of the @Erupt class the request is scoped to. Must match the {erupt} path segment, or name the parent erupt when the path addresses a nested erupt (tab, sub-form, reference).
Type
Requiredstring
Format
"string"Path Parameters
erupt*
Simple class name of the @Erupt model
Type
Requiredstring
Format
"string"field*
Field name with edit type CHOICE
Type
Requiredstring
Format
"string"Request Body
application/json
JSON "any object": { }
{
}
Responses
OK
*/*
JSON { "value": "string", "label": "string", "desc": "string", "color": "string", "disable": true, "extra": { } }
[
]