GET api/Admin/ReadEmployeeRolesForAdmin?EmployeeID={EmployeeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmployeeID

integer

Required

Body Parameters

None.

Response Information

Resource Description

R_EmployeeRole
NameDescriptionTypeAdditional information
EmployeeID

integer

None.

EmployeeRoles

Collection of U_B_EmployeeRole

Required

Response Formats

application/json, text/json

Sample:
{
  "employeeID": 1,
  "employeeRoles": [
    {
      "employeeRoleID": 1,
      "employee_Role": "ROOT",
      "roleStatus": "SUBMITTED",
      "statusChangeReason": "sample string 2"
    },
    {
      "employeeRoleID": 1,
      "employee_Role": "ROOT",
      "roleStatus": "SUBMITTED",
      "statusChangeReason": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<R_EmployeeRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <EmployeeID>1</EmployeeID>
  <EmployeeRoles>
    <U_B_EmployeeRole>
      <Employee_Role>ROOT</Employee_Role>
      <RoleStatus>SUBMITTED</RoleStatus>
      <StatusChangeReason>sample string 2</StatusChangeReason>
      <EmployeeRoleID>1</EmployeeRoleID>
    </U_B_EmployeeRole>
    <U_B_EmployeeRole>
      <Employee_Role>ROOT</Employee_Role>
      <RoleStatus>SUBMITTED</RoleStatus>
      <StatusChangeReason>sample string 2</StatusChangeReason>
      <EmployeeRoleID>1</EmployeeRoleID>
    </U_B_EmployeeRole>
  </EmployeeRoles>
</R_EmployeeRole>

multipart/form-data

Sample:
<R_EmployeeRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><EmployeeID>1</EmployeeID><EmployeeRoles><U_B_EmployeeRole><Employee_Role>ROOT</Employee_Role><RoleStatus>SUBMITTED</RoleStatus><StatusChangeReason>sample string 2</StatusChangeReason><EmployeeRoleID>1</EmployeeRoleID></U_B_EmployeeRole><U_B_EmployeeRole><Employee_Role>ROOT</Employee_Role><RoleStatus>SUBMITTED</RoleStatus><StatusChangeReason>sample string 2</StatusChangeReason><EmployeeRoleID>1</EmployeeRoleID></U_B_EmployeeRole></EmployeeRoles></R_EmployeeRole>