Create Reason
POST/api/reasons/createreason
Tier: Public — stable, supported for third-party integration.
Creates a new Reason.
Request
Responses
- 200
- 400
Returns the created Reasons.ReasonDetailDto.
Validation failure — empty ReasonCode/Scope/Description
(MissingRequiredField); a Scope that does not match a
Enums.ReasonScope member name, case-insensitive
(InvalidOperation, Field "Scope"); or a duplicate
(ReasonCode, Scope) pair within the organisation (case-insensitive,
non-deleted rows only — DuplicateResource "ReasonCode").