GET api/Usuarios/ListarPorEmpresa/{idempresa}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idempresa | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Usuario| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdEmpleado | integer |
None. |
|
| Nombre | string |
None. |
|
| Imagen | string |
None. |
|
| Password | string |
None. |
|
| IdEmpresa | integer |
None. |
|
| Estado | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"IdEmpleado": 2,
"Nombre": "sample string 3",
"Imagen": "sample string 4",
"Password": "sample string 5",
"IdEmpresa": 6,
"Estado": "sample string 7"
},
{
"Id": 1,
"IdEmpleado": 2,
"Nombre": "sample string 3",
"Imagen": "sample string 4",
"Password": "sample string 5",
"IdEmpresa": 6,
"Estado": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfUsuario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeoTrace_API.Models">
<Usuario>
<Estado>sample string 7</Estado>
<Id>1</Id>
<IdEmpleado>2</IdEmpleado>
<IdEmpresa>6</IdEmpresa>
<Imagen>sample string 4</Imagen>
<Nombre>sample string 3</Nombre>
<Password>sample string 5</Password>
</Usuario>
<Usuario>
<Estado>sample string 7</Estado>
<Id>1</Id>
<IdEmpleado>2</IdEmpleado>
<IdEmpresa>6</IdEmpresa>
<Imagen>sample string 4</Imagen>
<Nombre>sample string 3</Nombre>
<Password>sample string 5</Password>
</Usuario>
</ArrayOfUsuario>