POST api/employee/save
Request Information
URI Parameters
None.
Body Parameters
EmployeeModelName | Description | Type | Additional 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. |
|
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, "Pincode": "sample string 13", "DOB": "sample string 14", "DOJ": "sample string 15", "DOA": "sample string 16", "IsActive": true, "IsDeleted": true, "CreatedBy": 19, "UpdatedBy": 20 }
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>19</CreatedBy> <DOA>sample string 16</DOA> <DOB>sample string 14</DOB> <DOJ>sample string 15</DOJ> <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 13</Pincode> <StateID>11</StateID> <UpdatedBy>20</UpdatedBy> </EmployeeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.