Declaration Templates (Admin)
Create Document Type
Create a tenant-specific document type (TipoDocsNomeModulo) so the user can add one inline when no existing type matches. The new type is scoped to the caller's company (company_id) and is therefore invisible to other tenants.
Dedupe: if a global or own-company type with the same name + module already exists, that one is returned instead of creating a duplicate.
Body: name: str (required) id_modulo: int (required) — 5 (Contratos), 11 (Viaturas) or 12 (Clientes)
post/api/declaration-templates/document-types
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/declaration-templates/document-types
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 21 revisions of this API.