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

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/documents-test/types
  • Auth
    API 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.