GET role/GetDefaultControllers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Controller
NameDescriptionTypeAdditional information
ControllerID

integer

None.

ControllerName

string

None.

Roles

Collection of Role

None.

RequiresAuthentication

boolean

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.Controller'. Path '[0].Roles[0].Controllers'.

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.Controller'. Path '[0].Roles[0].Controllers'.

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.Controller'. Path '[0].Roles[0].Controllers'.

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.Role' 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.Role' contains cycles and cannot be serialized if reference tracking is disabled.