POST CentroCustoUnidade/AdicionarCentroCustoUnidade

Request Information

URI Parameters

None.

Body Parameters

CentroCustoUnidadeModel
NameDescriptionTypeAdditional information
Id

integer

None.

Codigo

integer

None.

Nome

string

None.

DescricaoEmpresa

string

None.

DataCadastro

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Codigo": 2,
  "Nome": "sample string 3",
  "DescricaoEmpresa": "sample string 4",
  "DataCadastro": "2025-12-27T15:30:54.8722025-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.CentroCustoPlanoUnidadeModel' 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.CentroCustoPlanoUnidadeModel' 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 'CentroCustoUnidadeModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.