POST api/EmployeeManagement/Edit

Request Information

URI Parameters

None.

Body Parameters

EmployeeMasterViewModel
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

EmployeeName

string

None.

ContactNumber

string

None.

EmailId

string

None.

Password

string

None.

Roles

string

None.

SubRoles

string

None.

SubReports

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "EmployeeName": "sample string 2",
  "ContactNumber": "sample string 3",
  "EmailId": "sample string 4",
  "Password": "sample string 5",
  "Roles": "sample string 6",
  "SubRoles": "sample string 7",
  "SubReports": "sample string 8"
}

application/xml, text/xml

Sample:
<EmployeeMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <ContactNumber>sample string 3</ContactNumber>
  <EmailId>sample string 4</EmailId>
  <EmployeeId>1</EmployeeId>
  <EmployeeName>sample string 2</EmployeeName>
  <Password>sample string 5</Password>
  <Roles>sample string 6</Roles>
  <SubReports>sample string 8</SubReports>
  <SubRoles>sample string 7</SubRoles>
</EmployeeMasterViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeMasterViewModel'.

Response Information

Resource Description

None.