Class Definition
Create a new select option configuration
Changed onCreate a new select option configuration. The ID must be unique (case-insensitive). Returns the newly created configuration detail.
post/pimcore-studio/api/class/select-option
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/class/select-option
- Auth: none declared
Request body
Example request
{
"id": "EventStatus"
}Response
Newly created select option configuration detail
Example response
{
"id": "EventStatus",
"group": "system",
"selectOptions": [
{
"value": "active",
"label": "Active",
"name": "Active"
}
],
"enumName": "Pimcore\\Model\\DataObject\\SelectOptions\\EventStatus",
"isWriteable": true
}Changes
- info
endpoint added
- info