POST api/colaborador/CriaColaboradorBlazon
Request Information
URI Parameters
None.
Body Parameters
ColaboradorBlazonViewModelName | Description | Type | Additional information |
---|---|---|---|
Nome | string |
Required String length: inclusive between 3 and 128 |
|
string |
Required String length: inclusive between 3 and 128 |
||
Cpf | string |
Required String length: inclusive between 11 and 14 |
|
DataNascimento | date |
Required Range: inclusive between 01/01/1940 and 01/01/2100 |
|
TelefoneCelular | string |
Required String length: inclusive between 10 and 20 |
|
DataAdmissao | date |
Required Range: inclusive between 01/01/1940 and 01/01/2100 |
|
Matricula | string |
Required String length: inclusive between 1 and 20 |
|
CpfGestor | string |
Required String length: inclusive between 11 and 14 |
|
idEmpresa | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjEmpresa | string |
Required String length: inclusive between 14 and 18 |
|
idUnidade | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjUnidade | string |
Required String length: inclusive between 14 and 18 |
|
idRegional | integer |
Required Range: inclusive between 1 and 2147483647 |
|
IdCentroCustoCliente | integer |
Required Range: inclusive between 1 and 2147483647 |
|
idCargo | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CargoNome | string |
Required String length: inclusive between 2 and 128 |
|
Salario | decimal number |
Required Range: inclusive between 0,01 and 999999,99 |
Request Formats
application/json, text/json
{ "Nome": "sample string 1", "Email": "sample string 2", "Cpf": "sample string 3", "DataNascimento": "09-01-2025 22:39:40.628", "TelefoneCelular": "sample string 5", "DataAdmissao": "09-01-2025 22:39:40.628", "Matricula": "sample string 7", "CpfGestor": "sample string 8", "idEmpresa": 9, "CnpjEmpresa": "sample string 10", "idUnidade": 11, "CnpjUnidade": "sample string 12", "idRegional": 13, "IdCentroCustoCliente": 14, "idCargo": 15, "CargoNome": "sample string 16", "Salario": 17.0 }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of ColaboradorBlazonViewModelName | Description | Type | Additional information |
---|---|---|---|
Nome | string |
Required String length: inclusive between 3 and 128 |
|
string |
Required String length: inclusive between 3 and 128 |
||
Cpf | string |
Required String length: inclusive between 11 and 14 |
|
DataNascimento | date |
Required Range: inclusive between 01/01/1940 and 01/01/2100 |
|
TelefoneCelular | string |
Required String length: inclusive between 10 and 20 |
|
DataAdmissao | date |
Required Range: inclusive between 01/01/1940 and 01/01/2100 |
|
Matricula | string |
Required String length: inclusive between 1 and 20 |
|
CpfGestor | string |
Required String length: inclusive between 11 and 14 |
|
idEmpresa | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjEmpresa | string |
Required String length: inclusive between 14 and 18 |
|
idUnidade | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjUnidade | string |
Required String length: inclusive between 14 and 18 |
|
idRegional | integer |
Required Range: inclusive between 1 and 2147483647 |
|
IdCentroCustoCliente | integer |
Required Range: inclusive between 1 and 2147483647 |
|
idCargo | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CargoNome | string |
Required String length: inclusive between 2 and 128 |
|
Salario | decimal number |
Required Range: inclusive between 0,01 and 999999,99 |
Response Formats
application/json, text/json
[ { "Nome": "sample string 1", "Email": "sample string 2", "Cpf": "sample string 3", "DataNascimento": "09-01-2025 22:39:40.628", "TelefoneCelular": "sample string 5", "DataAdmissao": "09-01-2025 22:39:40.628", "Matricula": "sample string 7", "CpfGestor": "sample string 8", "idEmpresa": 9, "CnpjEmpresa": "sample string 10", "idUnidade": 11, "CnpjUnidade": "sample string 12", "idRegional": 13, "IdCentroCustoCliente": 14, "idCargo": 15, "CargoNome": "sample string 16", "Salario": 17.0 }, { "Nome": "sample string 1", "Email": "sample string 2", "Cpf": "sample string 3", "DataNascimento": "09-01-2025 22:39:40.628", "TelefoneCelular": "sample string 5", "DataAdmissao": "09-01-2025 22:39:40.628", "Matricula": "sample string 7", "CpfGestor": "sample string 8", "idEmpresa": 9, "CnpjEmpresa": "sample string 10", "idUnidade": 11, "CnpjUnidade": "sample string 12", "idRegional": 13, "IdCentroCustoCliente": 14, "idCargo": 15, "CargoNome": "sample string 16", "Salario": 17.0 } ]