GET api/Dashboard/getDashboardDetalleEmpresa?rol={rol}&empresaID={empresaID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| rol | integer |
Required |
|
| empresaID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DashboardDetalleEmpresaResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| NombreEmpresa | string |
None. |
|
| DDE | Collection of SP_getDashboardDetalleEmpresa_Result |
None. |
|
| DG | SP_getDashboardGeneral_Result |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"NombreEmpresa": "sample string 1",
"DDE": [
{
"ItemID": 1,
"EmpresaID": 2,
"Nombre": "sample string 3",
"NumRespuestas": "sample string 4"
},
{
"ItemID": 1,
"EmpresaID": 2,
"Nombre": "sample string 3",
"NumRespuestas": "sample string 4"
}
],
"DG": {
"PERTOTAL": 1.1,
"PERDeseable": 1.1,
"PERContrato": 1.1,
"PEROperaciones": 1.1
},
"status": 2,
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<DashboardDetalleEmpresaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models">
<message>sample string 3</message>
<status>2</status>
<DDE xmlns:d2p1="http://schemas.datacontract.org/2004/07/EXPU_Backend">
<d2p1:SP_getDashboardDetalleEmpresa_Result>
<d2p1:EmpresaID>2</d2p1:EmpresaID>
<d2p1:ItemID>1</d2p1:ItemID>
<d2p1:Nombre>sample string 3</d2p1:Nombre>
<d2p1:NumRespuestas>sample string 4</d2p1:NumRespuestas>
</d2p1:SP_getDashboardDetalleEmpresa_Result>
<d2p1:SP_getDashboardDetalleEmpresa_Result>
<d2p1:EmpresaID>2</d2p1:EmpresaID>
<d2p1:ItemID>1</d2p1:ItemID>
<d2p1:Nombre>sample string 3</d2p1:Nombre>
<d2p1:NumRespuestas>sample string 4</d2p1:NumRespuestas>
</d2p1:SP_getDashboardDetalleEmpresa_Result>
</DDE>
<DG xmlns:d2p1="http://schemas.datacontract.org/2004/07/EXPU_Backend">
<d2p1:PERContrato>1.1</d2p1:PERContrato>
<d2p1:PERDeseable>1.1</d2p1:PERDeseable>
<d2p1:PEROperaciones>1.1</d2p1:PEROperaciones>
<d2p1:PERTOTAL>1.1</d2p1:PERTOTAL>
</DG>
<NombreEmpresa>sample string 1</NombreEmpresa>
</DashboardDetalleEmpresaResponse>