GET api/empresa/Obtener?identificacion={identificacion}&establecimiento={establecimiento}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| identificacion | string |
Required |
|
| establecimiento | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ModelEmpresa| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PadreId | integer |
None. |
|
| Identificacion | string |
None. |
|
| RazonSocial | string |
None. |
|
| NombreComercial | string |
None. |
|
| Establecimiento | string |
None. |
|
| DireccionMatriz | string |
None. |
|
| DireccionSucursal | string |
None. |
|
| Estado | boolean |
None. |
|
| TenantId | string |
None. |
|
| Notas | string |
None. |
|
| Control | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"PadreId": 2,
"Identificacion": "sample string 3",
"RazonSocial": "sample string 4",
"NombreComercial": "sample string 5",
"Establecimiento": "sample string 6",
"DireccionMatriz": "sample string 7",
"DireccionSucursal": "sample string 8",
"Estado": true,
"TenantId": "sample string 10",
"Notas": "sample string 11",
"Control": true
}
application/xml, text/xml
Sample:
<ModelEmpresa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Modelos"> <Control>true</Control> <DireccionMatriz>sample string 7</DireccionMatriz> <DireccionSucursal>sample string 8</DireccionSucursal> <Establecimiento>sample string 6</Establecimiento> <Estado>true</Estado> <Id>1</Id> <Identificacion>sample string 3</Identificacion> <NombreComercial>sample string 5</NombreComercial> <Notas>sample string 11</Notas> <PadreId>2</PadreId> <RazonSocial>sample string 4</RazonSocial> <TenantId>sample string 10</TenantId> </ModelEmpresa>