POST Treinamento/Registro

Request Information

URI Parameters

None.

Body Parameters

TreinamentoRegistroModel
NameDescriptionTypeAdditional information
Id

integer

None.

EmpresaId

integer

None.

TreinamentoId

integer

None.

ColaboradorId

integer

None.

TreinamentoSessaoId

integer

None.

DataConclusao

date

None.

DataVencimento

date

None.

TreinamentoOrigemId

integer

None.

TreinamentoRegistroStatusId

integer

None.

CertificadoNome

string

None.

RegistroAnteriorId

integer

None.

DataCadastro

date

None.

UsuarioCadastroId

integer

None.

CertificadoBase64

string

None.

CertificadoExtensao

string

None.

TreinamentoNome

string

None.

ColaboradorNome

string

None.

ColaboradorCargoNome

string

None.

ColaboradorLotacaoUnidadeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmpresaId": 2,
  "TreinamentoId": 3,
  "ColaboradorId": 4,
  "TreinamentoSessaoId": 1,
  "DataConclusao": "2026-10-21T20:07:13.858159-03:00",
  "DataVencimento": "2026-10-21T20:07:13.858159-03:00",
  "TreinamentoOrigemId": 5,
  "TreinamentoRegistroStatusId": 6,
  "CertificadoNome": "sample string 7",
  "RegistroAnteriorId": 1,
  "DataCadastro": "2026-10-21T20:07:13.858159-03:00",
  "UsuarioCadastroId": 1,
  "CertificadoBase64": "sample string 9",
  "CertificadoExtensao": "sample string 10",
  "TreinamentoNome": "sample string 11",
  "ColaboradorNome": "sample string 12",
  "ColaboradorCargoNome": "sample string 13",
  "ColaboradorLotacaoUnidadeId": 14
}

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.ColaboradorLotacaoModel, 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.ColaboradorLotacaoModel, 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 'TreinamentoRegistroModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.