POST api/employee/save

Request Information

URI Parameters

None.

Body Parameters

EmployeeModel
NameDescriptionTypeAdditional information
EmployeeID

integer

None.

EmployeeCode

string

None.

EmployeeName

string

None.

EmailID

string

None.

AlternateEmailID

string

None.

MobileNo

string

None.

AlternateMobileNo

string

None.

Address1

string

None.

Address2

string

None.

CityID

integer

None.

StateID

integer

None.

CountryID

integer

None.

DepartmentID

integer

None.

DesignationID

integer

None.

Pincode

string

None.

DOB

string

None.

DOJ

string

None.

DOA

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeID": 1,
  "EmployeeCode": "sample string 2",
  "EmployeeName": "sample string 3",
  "EmailID": "sample string 4",
  "AlternateEmailID": "sample string 5",
  "MobileNo": "sample string 6",
  "AlternateMobileNo": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "CityID": 10,
  "StateID": 11,
  "CountryID": 12,
  "DepartmentID": 13,
  "DesignationID": 14,
  "Pincode": "sample string 15",
  "DOB": "sample string 16",
  "DOJ": "sample string 17",
  "DOA": "sample string 18",
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 21,
  "UpdatedBy": 22
}

application/xml, text/xml

Sample:
<EmployeeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <AlternateEmailID>sample string 5</AlternateEmailID>
  <AlternateMobileNo>sample string 7</AlternateMobileNo>
  <CityID>10</CityID>
  <CountryID>12</CountryID>
  <CreatedBy>21</CreatedBy>
  <DOA>sample string 18</DOA>
  <DOB>sample string 16</DOB>
  <DOJ>sample string 17</DOJ>
  <DepartmentID>13</DepartmentID>
  <DesignationID>14</DesignationID>
  <EmailID>sample string 4</EmailID>
  <EmployeeCode>sample string 2</EmployeeCode>
  <EmployeeID>1</EmployeeID>
  <EmployeeName>sample string 3</EmployeeName>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <MobileNo>sample string 6</MobileNo>
  <Pincode>sample string 15</Pincode>
  <StateID>11</StateID>
  <UpdatedBy>22</UpdatedBy>
</EmployeeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.