GET user/GetUsersByRole?RoleID={RoleID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
RoleID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
UserID

integer

None.

UniqueIdentifier

string

None.

CurrentCompanyID

integer

None.

UserName

string

None.

Number

string

None.

FirstName

string

None.

LastName

string

None.

Active

boolean

None.

ProfilePicture

string

None.

CreatedDate

date

None.

Role

Role

None.

FirstLogin

boolean

None.

TwoFactorAuthenticationTypeID

integer

None.

ApiEnabled

boolean

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].Role.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].Role.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].Role.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 'System.Collections.Generic.List`1[[Models.Controller, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[Models.Controller, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.