Skip to content

Criar novo profissional

POST
/api/v2/profissionais

Authorizations

Request Body

Dados do profissional

object
nome
required
string
cpfCnpj
string
nullable
registroConselho
required
string
idTipoConselho
required
integer format: int32
ufConselho
required
string
cboId
string format: uuid
nullable

Responses

200

Profissional criado com sucesso

object
sucesso
boolean
erros
Array<string>
nullable
data
object
id
string format: uuid
nome
string
nullable
cpfCnpj
string
nullable
conselho
object
siglaConselho
string
nullable
nomeConselho
string
nullable
ufConselho
string
nullable
numeroRegistro
string
nullable
cbo
object
id
string format: uuid
codigo
string
nullable
descricao
string
nullable
situacao
string
nullable
especialidades
Array<object>
nullable
object
id
integer format: int32
descricao
string
nullable
padrao
boolean
executantePadrao
boolean
ativo
boolean
updatedAt
string format: date-time
createdAt
string format: date-time

400

Erro de validação

object
mensagens
Array<string>
nullable

422

Já existe outro profissional com o mesmo conselho, UF do conselho e número de registro

500

Erro interno