GET api/EmployeeManagement/Get/Roles?excludeRoleId={excludeRoleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
excludeRoleId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of RoleMaster
NameDescriptionTypeAdditional information
RoleId

integer

None.

RoleName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RoleId": 1,
    "RoleName": "sample string 2"
  },
  {
    "RoleId": 1,
    "RoleName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRoleMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <RoleMaster>
    <RoleId>1</RoleId>
    <RoleName>sample string 2</RoleName>
  </RoleMaster>
  <RoleMaster>
    <RoleId>1</RoleId>
    <RoleName>sample string 2</RoleName>
  </RoleMaster>
</ArrayOfRoleMaster>