POST api/centrocusto/ExcluirCentroCusto

Exclui um centro de custo. Se especificado, também remove os usuários associados.

Request Information

URI Parameters

None.

Body Parameters

Objeto com a descrição/código do centro de custo, autenticação e indicação para remover usuários.

CentroCustoExclusao
NameDescriptionTypeAdditional information
CODIGO_CENTRO_CUSTO

CODIGO_CENTRO_CUSTO

integer

None.

DESCRICAO_CENTRO_CUSTO

DESCRICAO_CENTRO_CUSTO

string

None.

REMOVER_TODOS_USUARIOS_CENTRO_CUSTO

REMOVER_TODOS_USUARIOS_CENTRO_CUSTO

boolean

None.

USUARIO_AUTENTICACAO

USUARIO_AUTENTICACAO

string

None.

SENHA_AUTENTICACAO

SENHA_AUTENTICACAO

string

None.

Request Formats

application/json, text/json

Sample:
{
  "USUARIO_AUTENTICACAO": "sample string 1",
  "SENHA_AUTENTICACAO": "sample string 2",
  "CODIGO_CENTRO_CUSTO": 1,
  "DESCRICAO_CENTRO_CUSTO": "sample string 2",
  "REMOVER_TODOS_USUARIOS_CENTRO_CUSTO": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Resposta HTTP com o resultado da exclusão.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.