documents-test

Create a company-specific document type

Create a tenant-specific document type (TipoDocsNomeModulo) so users can add one inline from the Documentos tab when no existing type matches. Scoped to the caller's company (invisible to other tenants). Dedupes on name+module (returns the existing global/own type instead of a duplicate).

Body: { name: str, id_modulo: int }

post/api/documents-test/types

Headers

x-api-tokenstring nullable

Request body

object required

Response

Successful Response

{"stackTrail":"paths:/api/documents-test/types:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.