POST Treinamento/Catalogo
Request Information
URI Parameters
None.
Body Parameters
TreinamentoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| EmpresaId | integer |
None. |
|
| Nome | string |
None. |
|
| Descricao | string |
None. |
|
| TreinamentoCategoriaId | integer |
None. |
|
| CargaHoraria | string |
None. |
|
| ExigeRevalidacao | boolean |
None. |
|
| PeriodicidadeMeses | integer |
None. |
|
| TreinamentoOrigemEsperadaId | integer |
None. |
|
| CursoIdLms | string |
None. |
|
| Ativo | boolean |
None. |
|
| DataCadastro | date |
None. |
|
| UsuarioCadastroId | integer |
None. |
|
| Vinculos | Collection of TreinamentoVinculoModel |
None. |
|
| CargoUnidadeIdsSelected | Collection of integer |
None. |
|
| LotacaoUnidadeIdsSelected | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"EmpresaId": 2,
"Nome": "sample string 3",
"Descricao": "sample string 4",
"TreinamentoCategoriaId": 5,
"CargaHoraria": "sample string 6",
"ExigeRevalidacao": true,
"PeriodicidadeMeses": 1,
"TreinamentoOrigemEsperadaId": 8,
"CursoIdLms": "sample string 9",
"Ativo": true,
"DataCadastro": "2026-10-21T20:03:37.3121544-03:00",
"UsuarioCadastroId": 1,
"Vinculos": [
{
"Id": 1,
"TreinamentoId": 2,
"CargoUnidadeId": 1,
"LotacaoUnidadeId": 1,
"Nome": "sample string 3"
},
{
"Id": 1,
"TreinamentoId": 2,
"CargoUnidadeId": 1,
"LotacaoUnidadeId": 1,
"Nome": "sample string 3"
}
],
"CargoUnidadeIdsSelected": [
1,
2
],
"LotacaoUnidadeIdsSelected": [
1,
2
]
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.