POST GeradorDocumentos/Modelos/{id}/Arquivo

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DocumentoModeloArquivoModel
NameDescriptionTypeAdditional information
ArquivoBase64

string

None.

ArquivoNomeOriginal

string

None.

Identificacao

DocumentoModeloModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ArquivoBase64": "sample string 1",
  "ArquivoNomeOriginal": "sample string 2",
  "Identificacao": {
    "Id": 1,
    "EmpresaId": 1,
    "Nome": "sample string 2",
    "Descricao": "sample string 3",
    "Categoria": 4,
    "Permissao": 5,
    "Ativo": true,
    "DataCadastro": "2026-10-21T20:03:46.0961524-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 'lurin.meurhonline.domain.model.BeneficioModel' 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 'lurin.meurhonline.domain.model.BeneficioModel' 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 'DocumentoModeloArquivoModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.