PUT api/colaborador/AtualizaColaborador?cpf={cpf}&email={email}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cpf | string |
Required |
|
string |
Required |
Body Parameters
AtualizaColaboradorViewModelName | Description | Type | Additional information |
---|---|---|---|
Usuario_ID | integer |
None. |
|
Nome | string |
Required String length: inclusive between 3 and 128 |
|
string |
Required String length: inclusive between 3 and 128 |
||
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 |
|
DataDemissao | date |
None. |
|
Matricula | string |
None. |
|
CpfGestor | string |
Required String length: inclusive between 11 and 14 |
|
cdEmpresa | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjEmpresa | string |
Required String length: inclusive between 14 and 18 |
|
cdUnidade | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjUnidade | string |
Required String length: inclusive between 14 and 18 |
|
cdRegional | string |
Required String length: inclusive between 1 and 50 |
|
IdCentroCustoCliente | integer |
Required Range: inclusive between 1 and 2147483647 |
|
idCargo | integer |
Range: inclusive between 1 and 2147483647 |
|
CargoNome | string |
Required String length: inclusive between 2 and 128 |
|
Salario | decimal number |
Range: inclusive between 0 and 999999,99 |
Request Formats
application/json, text/json
{ "Usuario_ID": 1, "Nome": "sample string 1", "Email": "sample string 2", "DataNascimento": "21-04-2025 09:44:39.779", "TelefoneCelular": "sample string 4", "DataAdmissao": "21-04-2025 09:44:39.779", "DataDemissao": "21-04-2025 09:44:39.779", "Matricula": "sample string 6", "CpfGestor": "sample string 7", "cdEmpresa": 8, "CnpjEmpresa": "sample string 9", "cdUnidade": 10, "CnpjUnidade": "sample string 11", "cdRegional": "sample string 12", "IdCentroCustoCliente": 13, "idCargo": 1, "CargoNome": "sample string 14", "Salario": 15.0 }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of AtualizaColaboradorViewModelName | Description | Type | Additional information |
---|---|---|---|
Usuario_ID | integer |
None. |
|
Nome | string |
Required String length: inclusive between 3 and 128 |
|
string |
Required String length: inclusive between 3 and 128 |
||
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 |
|
DataDemissao | date |
None. |
|
Matricula | string |
None. |
|
CpfGestor | string |
Required String length: inclusive between 11 and 14 |
|
cdEmpresa | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjEmpresa | string |
Required String length: inclusive between 14 and 18 |
|
cdUnidade | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CnpjUnidade | string |
Required String length: inclusive between 14 and 18 |
|
cdRegional | string |
Required String length: inclusive between 1 and 50 |
|
IdCentroCustoCliente | integer |
Required Range: inclusive between 1 and 2147483647 |
|
idCargo | integer |
Range: inclusive between 1 and 2147483647 |
|
CargoNome | string |
Required String length: inclusive between 2 and 128 |
|
Salario | decimal number |
Range: inclusive between 0 and 999999,99 |
Response Formats
application/json, text/json
[ { "Usuario_ID": 1, "Nome": "sample string 1", "Email": "sample string 2", "DataNascimento": "21-04-2025 09:44:39.795", "TelefoneCelular": "sample string 4", "DataAdmissao": "21-04-2025 09:44:39.795", "DataDemissao": "21-04-2025 09:44:39.795", "Matricula": "sample string 6", "CpfGestor": "sample string 7", "cdEmpresa": 8, "CnpjEmpresa": "sample string 9", "cdUnidade": 10, "CnpjUnidade": "sample string 11", "cdRegional": "sample string 12", "IdCentroCustoCliente": 13, "idCargo": 1, "CargoNome": "sample string 14", "Salario": 15.0 }, { "Usuario_ID": 1, "Nome": "sample string 1", "Email": "sample string 2", "DataNascimento": "21-04-2025 09:44:39.795", "TelefoneCelular": "sample string 4", "DataAdmissao": "21-04-2025 09:44:39.795", "DataDemissao": "21-04-2025 09:44:39.795", "Matricula": "sample string 6", "CpfGestor": "sample string 7", "cdEmpresa": 8, "CnpjEmpresa": "sample string 9", "cdUnidade": 10, "CnpjUnidade": "sample string 11", "cdRegional": "sample string 12", "IdCentroCustoCliente": 13, "idCargo": 1, "CargoNome": "sample string 14", "Salario": 15.0 } ]