Create Template
POST/api/templates/createtemplate
Tier: Public — stable, supported for third-party integration.
Creates a new template for the caller's organisation.
Request
Responses
- 200
- 400
- 401
- 403
The created template. See Templates.TemplateDetailDto.
MissingRequiredField ("Name" or "TemplateType"); InvalidReference
("TemplateType", not a valid Enums.TemplateFor name, or
Task/Service — deliberately excluded, templates only exist for
Item/Place/Person/Collection); DuplicateResource ("Name", scoped to the organisation's
non-deleted templates); InvalidOperation (duplicate ExtendedPropertyId entries in
AddTemplateDto.TemplateExtendedPropertyList, or an advanced-data-type extended
property attached to a non-Collection template); OperationFailed (insert failure).
Caller is not authenticated.
Caller does not have Create permission on the Template module.