GET api/ConsultaRoles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RolEnt
NameDescriptionTypeAdditional information
IdRol

integer

None.

NombreRol

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdRol": 1,
    "NombreRol": "sample string 2"
  },
  {
    "IdRol": 1,
    "NombreRol": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRolEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LN_API.Entities">
  <RolEnt>
    <IdRol>1</IdRol>
    <NombreRol>sample string 2</NombreRol>
  </RolEnt>
  <RolEnt>
    <IdRol>1</IdRol>
    <NombreRol>sample string 2</NombreRol>
  </RolEnt>
</ArrayOfRolEnt>