PUT api/centrocusto/atualizaCentroCusto?idRegional={idRegional}&cdRegional={cdRegional}&IdEmpresa={IdEmpresa}&cdEmpresa={cdEmpresa}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idRegional | integer |
None. |
|
cdRegional | string |
None. |
|
IdEmpresa | integer |
None. |
|
cdEmpresa | integer |
None. |
Body Parameters
AtualizaCentroCustoViewModelName | Description | Type | Additional information |
---|---|---|---|
id_gerencia_regional | integer |
None. |
|
CodigoCentroCusto | string |
Required String length: inclusive between 1 and 50 |
|
IdCentroCustoCliente | integer |
Required Range: inclusive between 1 and 2147483647 |
|
NomeCentroCusto | string |
Required String length: inclusive between 3 and 100 |
|
id_regional_pai | integer |
None. |
|
Id_diretoria | integer |
None. |
|
BU | string |
None. |
|
Segmento | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id_gerencia_regional": 1, "CodigoCentroCusto": "sample string 1", "IdCentroCustoCliente": 2, "NomeCentroCusto": "sample string 3", "id_regional_pai": 1, "Id_diretoria": 1, "BU": "sample string 4", "Segmento": "sample string 5" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AtualizaCentroCustoViewModelName | Description | Type | Additional information |
---|---|---|---|
id_gerencia_regional | integer |
None. |
|
CodigoCentroCusto | string |
Required String length: inclusive between 1 and 50 |
|
IdCentroCustoCliente | integer |
Required Range: inclusive between 1 and 2147483647 |
|
NomeCentroCusto | string |
Required String length: inclusive between 3 and 100 |
|
id_regional_pai | integer |
None. |
|
Id_diretoria | integer |
None. |
|
BU | string |
None. |
|
Segmento | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id_gerencia_regional": 1, "CodigoCentroCusto": "sample string 1", "IdCentroCustoCliente": 2, "NomeCentroCusto": "sample string 3", "id_regional_pai": 1, "Id_diretoria": 1, "BU": "sample string 4", "Segmento": "sample string 5" }, { "id_gerencia_regional": 1, "CodigoCentroCusto": "sample string 1", "IdCentroCustoCliente": 2, "NomeCentroCusto": "sample string 3", "id_regional_pai": 1, "Id_diretoria": 1, "BU": "sample string 4", "Segmento": "sample string 5" } ]