GET Single company
Changed onCom este endpoint, você pode recuperar os dados de uma única subconta, utilizando o seu Id como referência.
Disponível apenas para contas revendedoras (outras contas recebem 501). Um id inexistente ou de uma subconta que não é sua responde 404.
Request
- Base URLhttps://app.plugsign.com.br
- URLhttps://app.plugsign.com.br/api/companies/reseller/{id}
- AuthAPI key in header Authorization
Path parameters
ID da company que deve ser retornada.
Response
200
Example response
{
"data": {
"id": 9878,
"name": "Empresa Exemplo",
"email": "exemplo@exemplo.com",
"phone": "11999999999",
"cnpj": "11111111000111",
"address": "Rua Exemplo, 100, Centro, São Paulo",
"can_login": 1,
"mail_host": "smtp.exemplo.com",
"mail_from": "no-reply@exemplo.com",
"mail_username": "usuario@exemplo.com",
"mail_encryption": "ssl",
"mail_port": 465,
"company_name": "Empresa Exemplo LTDA",
"editablevalidate": 1
}
}Changes
- breaking
the
/response's property type changed fromstringtoobjectfor status - breaking
the
/response's property type changed fromstringtointegerfor status - breaking
the
/response's property type changed fromstringtointegerfor status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking