POST api/master/SaveEmployee
Request Information
URI Parameters
None.
Body Parameters
EmployeeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeID | integer |
None. |
|
| UserID | integer |
None. |
|
| EmployeeData | Collection of EmployeeData |
None. |
|
| EmployeeProof | Collection of EmployeeProof |
None. |
|
| EmployeeWorkingSite | Collection of EmployeeWorkingSite |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeID": 1,
"UserID": 2,
"EmployeeData": [
{
"LeadEmployeeID": 1,
"EmployeeID": 1,
"UserID": 1,
"EmployeeName": "sample string 1",
"FatherName": "sample string 2",
"Address_Postal": "sample string 3",
"Address_Route": "sample string 4",
"MobileNumber": "sample string 5",
"Email": "sample string 6",
"DOB": "2025-12-12T02:29:23.7492269+05:30",
"DOE": "2025-12-12T02:29:23.7492269+05:30",
"SpouseName": "sample string 9",
"VerticalID": 10,
"Guarantor_Name": "sample string 11",
"Guarantor_Address": "sample string 12",
"Guarantor_Mobile": "sample string 13",
"DOJ": "2025-12-12T02:29:23.7492269+05:30",
"DesignationID": 15,
"Current_StatusID": 16,
"Qualification": "sample string 17",
"Old_Experience": "sample string 18",
"Exp_In_Suvidha": "sample string 19",
"Notes": "sample string 20",
"Salary_Basic": 21.0,
"Salary_Days": 22.0,
"PerDay_Renum": 23.0,
"Fare": 24.0,
"Filed_Allowance": 25.0,
"ODI_Prcntg": 26.0,
"Slab_Amount": 27.0,
"Work1_Prcntg": 28.0,
"Work2_Prcntg": 29.0,
"PI_Difference": 30.0,
"RS_Per_Pronote": 31.0,
"IsActive": 32,
"CategoryID": 33,
"EmployeeType": 34,
"ImageUrl": "sample string 35"
},
{
"LeadEmployeeID": 1,
"EmployeeID": 1,
"UserID": 1,
"EmployeeName": "sample string 1",
"FatherName": "sample string 2",
"Address_Postal": "sample string 3",
"Address_Route": "sample string 4",
"MobileNumber": "sample string 5",
"Email": "sample string 6",
"DOB": "2025-12-12T02:29:23.7492269+05:30",
"DOE": "2025-12-12T02:29:23.7492269+05:30",
"SpouseName": "sample string 9",
"VerticalID": 10,
"Guarantor_Name": "sample string 11",
"Guarantor_Address": "sample string 12",
"Guarantor_Mobile": "sample string 13",
"DOJ": "2025-12-12T02:29:23.7492269+05:30",
"DesignationID": 15,
"Current_StatusID": 16,
"Qualification": "sample string 17",
"Old_Experience": "sample string 18",
"Exp_In_Suvidha": "sample string 19",
"Notes": "sample string 20",
"Salary_Basic": 21.0,
"Salary_Days": 22.0,
"PerDay_Renum": 23.0,
"Fare": 24.0,
"Filed_Allowance": 25.0,
"ODI_Prcntg": 26.0,
"Slab_Amount": 27.0,
"Work1_Prcntg": 28.0,
"Work2_Prcntg": 29.0,
"PI_Difference": 30.0,
"RS_Per_Pronote": 31.0,
"IsActive": 32,
"CategoryID": 33,
"EmployeeType": 34,
"ImageUrl": "sample string 35"
}
],
"EmployeeProof": [
{
"IdType": 1,
"IdPath": "sample string 2",
"IsActive": 3
},
{
"IdType": 1,
"IdPath": "sample string 2",
"IsActive": 3
}
],
"EmployeeWorkingSite": [
{
"UnitID": 1,
"CityID": 2,
"BranchID": 3,
"IsActive": 4,
"IsCurrent": 5
},
{
"UnitID": 1,
"CityID": 2,
"BranchID": 3,
"IsActive": 4,
"IsCurrent": 5
}
]
}
application/xml, text/xml
Sample:
<EmployeeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
<EmployeeData>
<EmployeeData>
<Address_Postal>sample string 3</Address_Postal>
<Address_Route>sample string 4</Address_Route>
<CategoryID>33</CategoryID>
<Current_StatusID>16</Current_StatusID>
<DOB>2025-12-12T02:29:23.7492269+05:30</DOB>
<DOE>2025-12-12T02:29:23.7492269+05:30</DOE>
<DOJ>2025-12-12T02:29:23.7492269+05:30</DOJ>
<DesignationID>15</DesignationID>
<Email>sample string 6</Email>
<EmployeeID>1</EmployeeID>
<EmployeeName>sample string 1</EmployeeName>
<EmployeeType>34</EmployeeType>
<Exp_In_Suvidha>sample string 19</Exp_In_Suvidha>
<Fare>24</Fare>
<FatherName>sample string 2</FatherName>
<Filed_Allowance>25</Filed_Allowance>
<Guarantor_Address>sample string 12</Guarantor_Address>
<Guarantor_Mobile>sample string 13</Guarantor_Mobile>
<Guarantor_Name>sample string 11</Guarantor_Name>
<ImageUrl>sample string 35</ImageUrl>
<IsActive>32</IsActive>
<LeadEmployeeID>1</LeadEmployeeID>
<MobileNumber>sample string 5</MobileNumber>
<Notes>sample string 20</Notes>
<ODI_Prcntg>26</ODI_Prcntg>
<Old_Experience>sample string 18</Old_Experience>
<PI_Difference>30</PI_Difference>
<PerDay_Renum>23</PerDay_Renum>
<Qualification>sample string 17</Qualification>
<RS_Per_Pronote>31</RS_Per_Pronote>
<Salary_Basic>21</Salary_Basic>
<Salary_Days>22</Salary_Days>
<Slab_Amount>27</Slab_Amount>
<SpouseName>sample string 9</SpouseName>
<UserID>1</UserID>
<VerticalID>10</VerticalID>
<Work1_Prcntg>28</Work1_Prcntg>
<Work2_Prcntg>29</Work2_Prcntg>
</EmployeeData>
<EmployeeData>
<Address_Postal>sample string 3</Address_Postal>
<Address_Route>sample string 4</Address_Route>
<CategoryID>33</CategoryID>
<Current_StatusID>16</Current_StatusID>
<DOB>2025-12-12T02:29:23.7492269+05:30</DOB>
<DOE>2025-12-12T02:29:23.7492269+05:30</DOE>
<DOJ>2025-12-12T02:29:23.7492269+05:30</DOJ>
<DesignationID>15</DesignationID>
<Email>sample string 6</Email>
<EmployeeID>1</EmployeeID>
<EmployeeName>sample string 1</EmployeeName>
<EmployeeType>34</EmployeeType>
<Exp_In_Suvidha>sample string 19</Exp_In_Suvidha>
<Fare>24</Fare>
<FatherName>sample string 2</FatherName>
<Filed_Allowance>25</Filed_Allowance>
<Guarantor_Address>sample string 12</Guarantor_Address>
<Guarantor_Mobile>sample string 13</Guarantor_Mobile>
<Guarantor_Name>sample string 11</Guarantor_Name>
<ImageUrl>sample string 35</ImageUrl>
<IsActive>32</IsActive>
<LeadEmployeeID>1</LeadEmployeeID>
<MobileNumber>sample string 5</MobileNumber>
<Notes>sample string 20</Notes>
<ODI_Prcntg>26</ODI_Prcntg>
<Old_Experience>sample string 18</Old_Experience>
<PI_Difference>30</PI_Difference>
<PerDay_Renum>23</PerDay_Renum>
<Qualification>sample string 17</Qualification>
<RS_Per_Pronote>31</RS_Per_Pronote>
<Salary_Basic>21</Salary_Basic>
<Salary_Days>22</Salary_Days>
<Slab_Amount>27</Slab_Amount>
<SpouseName>sample string 9</SpouseName>
<UserID>1</UserID>
<VerticalID>10</VerticalID>
<Work1_Prcntg>28</Work1_Prcntg>
<Work2_Prcntg>29</Work2_Prcntg>
</EmployeeData>
</EmployeeData>
<EmployeeID>1</EmployeeID>
<EmployeeProof>
<EmployeeProof>
<IdPath>sample string 2</IdPath>
<IdType>1</IdType>
<IsActive>3</IsActive>
</EmployeeProof>
<EmployeeProof>
<IdPath>sample string 2</IdPath>
<IdType>1</IdType>
<IsActive>3</IsActive>
</EmployeeProof>
</EmployeeProof>
<EmployeeWorkingSite>
<EmployeeWorkingSite>
<BranchID>3</BranchID>
<CityID>2</CityID>
<IsActive>4</IsActive>
<IsCurrent>5</IsCurrent>
<UnitID>1</UnitID>
</EmployeeWorkingSite>
<EmployeeWorkingSite>
<BranchID>3</BranchID>
<CityID>2</CityID>
<IsActive>4</IsActive>
<IsCurrent>5</IsCurrent>
<UnitID>1</UnitID>
</EmployeeWorkingSite>
</EmployeeWorkingSite>
<UserID>2</UserID>
</EmployeeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |