602 B
602 B
POST /propertyname
Protected. Requires a valid session cookie (credentials: 'include').
Create property name
Creates a new property name for the selected company.
Body (JSON)
{
"name": "…",
"sort": 1,
"exclusive": true
}
Response 201
Created property name
{
"propertyname": {
"id": 1,
"name": "…",
"sort": 1,
"exclusive": true
}
}
Errors
| Status | Description |
|---|---|
| 400 | Bad request — {"error":"…"} |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.