Change how a subtype shows its properties
PUT/object-subtypes/:id/properties
What a subtype changes of the custom properties of its type: label, description, whether
they are required or disabled in its form, their order and their group. Only the
properties listed change, and each keeps what is not sent. A property of the type is not
modified: the type and its other subtypes keep showing it as before. A property that
belongs to this subtype only is the subtype's own, so its label, required and disabled
change the property itself. A code that is not a
property of the type or of this subtype is 422 properties.<n>.code: not_found.
Answers the subtype's properties as GET /custom-properties?subtype= does.
Administrators only. Since 4.3.1.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The subtype's properties
Missing, invalid or expired token, or no contact matches it.
Authenticated, but not allowed.
Unknown route, or the resource is missing or in the trash; message names what was
looked for (task, note, payment_receipt, expense…). On an expenses route,
message: "expenses" means the plugin is not active.
Invalid input. details maps each field to a reason the client can switch on
(required, invalid, not_found, conflict, unsupported, …; see each operation);
_: rejected is a refusal by EVX Software's own save, with its message.