Skip to content

Ativa ou desativa uma credencial

PUT
/api/v2/credenciais/{credenciaisId}/situacao/{ativa}

Authorizations

Parameters

Path Parameters

credenciaisId
required
string format: uuid
ativa
required
boolean

Responses

200

Ativa ou desativa uma credencial

object
sucesso
boolean
erros
Array<string>
nullable
data
object
id
string format: uuid
nullable
clienteId
string format: uuid
tiposCredenciais
object
id
string format: uuid
nullable
operadoras
object
id
string format: uuid
nullable
registro_ans
string
nullable
cnpj
string
nullable
razao_social
string
nullable
ativa
boolean
email
string
nullable
site
string
nullable
representante_nome
string
nullable
representante_cargo
string
nullable
autorizacao_funcionamento_em
string format: date-time
nullable
concessao_registro_definitivo_em
string format: date-time
nullable
registrada_em
string format: date-time
nullable
classificacao_sigla
string
nullable
classificacao_nome
string
nullable
endereco_logradouro
string
nullable
endereco_numero
string
nullable
endereco_complemento
string
nullable
endereco_bairro
string
nullable
endereco_cep
string
nullable
endereco_municipio_codigo
string
nullable
endereco_municipio_nome
string
nullable
endereco_uf_sigla
string
nullable
endereco_valido
boolean
telefone_ddd
string
nullable
telefone_numero
string
nullable
fax_ddd
string
nullable
fax_numero
string
nullable
nome_fantasia
string
nullable
segmentacao_sigla
string
nullable
segmentacao_nome
string
nullable
portalFaturamento
string
nullable
portalAutorizacao
string
nullable
webservice
string
nullable
sistema
string
nullable
idExterno
string
nullable
padraoAcesso
string
nullable
requerToken
string
nullable
utilizaOrizon
boolean
gerenciaSessao
boolean
codigoOperadora
string
nullable
requerGuiaPrestador
boolean
operadorasId
string format: uuid
nomeAmigavel
string
nullable
codigoOperadora
string
nullable
hasCpf
boolean
hasCnpj
boolean
hasTipoLogin
boolean
hasUnidadeLogin
boolean
authThenExec
boolean
hasEligibility
boolean
tipoCredencialElegibilityId
string format: uuid
tiposCredencialElegibility
object recursive
tiposCredencialElegibilityId
string format: uuid
nullable
urlPortal
string
nullable
authorizationInfoAfterExecution
boolean
exibirTesteValidacao
boolean
tiposCredenciaisId
string format: uuid
nome
string
nullable
codigoPrestador
string
nullable
observacoes
string
nullable
login
string
nullable
senha
string
nullable
cpf
string
nullable
cnpj
string
nullable
tipoLogin
string
nullable
unidadeLogin
string
nullable
tabela
string
nullable
hasBiometrics
boolean
hasExecution
boolean
visivel
boolean
ativa
boolean
acceptJustification
boolean
solicitaTokenPreAutorizacao
boolean
requerTokenAutorizacao
boolean
obrigarAnexoNaAutorizacao
boolean
minimoAnexosPreAutorizacao
integer format: int32
nomeContratado
string
nullable
createdAt
string format: date-time
updatedAt
string format: date-time
nullable
credencialElegibility
object recursive
credencialElegibilityId
string format: uuid
nullable
tiposToken
Array<object>
nullable
object
id
string
nullable
descricao
string
nullable
tipoPermissao
string
Allowed values: Nenhum Usuario Unidade PontoAtendimento
arquivo
object
base64
string
nullable
name
string
nullable
path
string
nullable
type
string
nullable
size
integer format: int32
novo
boolean
id
string format: uuid
nullable

204

NoContent

400

Erro durante a requisição. Retorna mensagens de erro de validação

object
mensagens
Array<string>
nullable

500

Server Error