GET api/EmployeeManagement/Get/SubRoles?roleId={roleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of SubRoleMaster
NameDescriptionTypeAdditional information
SubRoleId

integer

None.

SubRoleName

string

None.

RoleId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SubRoleId": 1,
    "SubRoleName": "sample string 2",
    "RoleId": 3
  },
  {
    "SubRoleId": 1,
    "SubRoleName": "sample string 2",
    "RoleId": 3
  }
]

application/xml, text/xml

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