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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmployeeID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of R_EmployeeRole
NameDescriptionTypeAdditional information
ModifiedBy

string

None.

RoleStatus

AccountStatus

None.

EmployeeRoleID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

EmployeeID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

StatusChangeReason

string

Required

EmployeeRole

EmplyeeRole

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "modifiedBy": "sample string 1",
    "roleStatus": "SUBMITTED",
    "employeeRoleID": 2,
    "employeeID": 3,
    "statusChangeReason": "sample string 4",
    "employeeRole": "ROOT"
  },
  {
    "modifiedBy": "sample string 1",
    "roleStatus": "SUBMITTED",
    "employeeRoleID": 2,
    "employeeID": 3,
    "statusChangeReason": "sample string 4",
    "employeeRole": "ROOT"
  }
]

application/xml, text/xml

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

multipart/form-data

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