A finalidade deste método é possibilitar a consulta de empresas.
GET/api/v1/Empresas/{id}| Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
| Id | Id | Integer | Não há |
| IdMatriz | IdMatriz | Integer | Não há |
| IdEmpresaMae | IdEmpresaMae | Integer | Não há |
| RazaoSocial | RazaoSocial | String | Não há |
| NomeReduzido | NomeReduzido | String | Não há |
| Cnpj | Cnpj | String | Não há |
| Status | Status | String | Não há |
| Fields | Fields | String | Não há |
| Order | Order | String | Não há |
| Page | Page | Integer | Não há |
| PageSize | PageSize | Integer | Não há |
Não há.
| Código (Code) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
| 200 | Success | Não há | Não há |
application/json, text/json
{
"hasNext": true,
"items": [
{
"id": 0,
"idMatriz": 0,
"idEmpresaMae": 0,
"razaoSocial": "string",
"nomeReduzido": "string",
"cnpj": "string",
"status": "string",
"expandables": [
"string"
]
}
]
}| Código (Code) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
| 400 | Bad Request | Não há | Não há |
application/json, text/json
{
"code": "string",
"message": "string",
"detailedMessage": "string",
"helpUrl": "string",
"details": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notificationType": 0,
"code": "string",
"message": "string",
"detailedMessage": "string",
"status": 0
}
]
}