GET api/roles/{idRol}/apps
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idRol | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseDTOOfRolAppsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | RolAppsDTO |
None. |
|
| Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {
"IdRol": 1,
"NombreRol": "sample string 2",
"EstadoRol": true,
"IdApp": 4,
"NombreApp": "sample string 5",
"VistaApp": "sample string 6",
"PaginaApp": "sample string 7",
"UrlApp": "sample string 8",
"IdPadreApp": 1,
"PesoApp": 1,
"SeparadorApp": true,
"EstadoApp": true
},
"Errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ApiResponseDTOOfRolAppsDTOFGazmyZH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiGLM.Models.DTOs">
<Data>
<EstadoApp>true</EstadoApp>
<EstadoRol>true</EstadoRol>
<IdApp>4</IdApp>
<IdPadreApp>1</IdPadreApp>
<IdRol>1</IdRol>
<NombreApp>sample string 5</NombreApp>
<NombreRol>sample string 2</NombreRol>
<PaginaApp>sample string 7</PaginaApp>
<PesoApp>1</PesoApp>
<SeparadorApp>true</SeparadorApp>
<UrlApp>sample string 8</UrlApp>
<VistaApp>sample string 6</VistaApp>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseDTOOfRolAppsDTOFGazmyZH>