GET role/GetCompanyRoles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Role
NameDescriptionTypeAdditional information
RoleID

integer

None.

RoleDefaultID

integer

None.

CompanyID

integer

None.

RoleName

string

None.

Description

string

None.

Active

boolean

None.

Controllers

Collection of Controller

None.

MenuRoles

Collection of MenuRole

None.

RightTypes

Collection of RightType

None.

TotalRows

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Models.Role'. Path '[0].Controllers[0].Roles'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Models.Role'. Path '[0].Controllers[0].Roles'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected with type 'Models.Role'. Path '[0].Controllers[0].Roles'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Models.Controller' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Models.Controller' contains cycles and cannot be serialized if reference tracking is disabled.