POST GeradorDocumentos/Modelos

Request Information

URI Parameters

None.

Body Parameters

DocumentoModeloModel
NameDescriptionTypeAdditional information
Id

integer

None.

EmpresaId

integer

None.

Nome

string

None.

Descricao

string

None.

Categoria

integer

None.

Permissao

integer

None.

Ativo

boolean

None.

DataCadastro

date

None.

UsuarioCadastroId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmpresaId": 1,
  "Nome": "sample string 2",
  "Descricao": "sample string 3",
  "Categoria": 4,
  "Permissao": 5,
  "Ativo": true,
  "DataCadastro": "2026-10-21T20:06:49.8301532-03:00",
  "UsuarioCadastroId": 1
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[lurin.meurhonline.domain.model.BeneficioEmpresaModel, lurin.meurhonline.domain.model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[lurin.meurhonline.domain.model.BeneficioEmpresaModel, lurin.meurhonline.domain.model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DocumentoModeloModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.