POST LotacaoPlano/AdicionarLotacaoPlanoUnidade

Request Information

URI Parameters

None.

Body Parameters

Collection of LotacaoPlanoUnidadeModel
NameDescriptionTypeAdditional information
LotacaoPlanoId

integer

None.

LotacaoUnidadeId

integer

None.

LotacaoUnidade

LotacaoUnidadeModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "LotacaoPlanoId": 1,
    "LotacaoUnidadeId": 2,
    "LotacaoUnidade": {
      "Id": 1,
      "Codigo": 2,
      "Nome": "sample string 3",
      "DescricaoEmpresa": "sample string 4",
      "DataCadastro": "2025-12-27T15:33:08.7862037-03:00"
    }
  },
  {
    "LotacaoPlanoId": 1,
    "LotacaoUnidadeId": 2,
    "LotacaoUnidade": {
      "Id": 1,
      "Codigo": 2,
      "Nome": "sample string 3",
      "DescricaoEmpresa": "sample string 4",
      "DataCadastro": "2025-12-27T15:33:08.7862037-03:00"
    }
  }
]

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.BeneficioEmpresaModel' 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.BeneficioEmpresaModel' 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 'IEnumerable`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.