POST api/NewJoiner/AddNewJoiner
Request Information
URI Parameters
None.
Body Parameters
NewJoiner| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeName | string |
None. |
|
| DateOfJoining | string |
None. |
|
| MobileNo | string |
None. |
|
| string |
None. |
||
| DepartmentID | integer |
None. |
|
| DesignationID | integer |
None. |
|
| InHandSalary | decimal number |
None. |
|
| HeadQuarter | string |
None. |
|
| ReportingManager | string |
None. |
|
| Gender | string |
None. |
|
| MaritialStatus | string |
None. |
|
| BankAccountNumber | string |
None. |
|
| BankIFSCCode | string |
None. |
|
| AdhaarNumber | string |
None. |
|
| PanNumber | string |
None. |
|
| Photo1 | Collection of byte |
None. |
|
| Photo2 | Collection of byte |
None. |
|
| Photo3 | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeName": "sample string 1",
"DateOfJoining": "sample string 2",
"MobileNo": "sample string 3",
"Email": "sample string 4",
"DepartmentID": 1,
"DesignationID": 1,
"InHandSalary": 1.1,
"HeadQuarter": "sample string 5",
"ReportingManager": "sample string 6",
"Gender": "sample string 7",
"MaritialStatus": "sample string 8",
"BankAccountNumber": "sample string 9",
"BankIFSCCode": "sample string 10",
"AdhaarNumber": "sample string 11",
"PanNumber": "sample string 12",
"Photo1": "QEA=",
"Photo2": "QEA=",
"Photo3": "QEA="
}
application/xml, text/xml
Sample:
<NewJoiner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOOSTERPARIS_WEB_API.Models"> <AdhaarNumber>sample string 11</AdhaarNumber> <BankAccountNumber>sample string 9</BankAccountNumber> <BankIFSCCode>sample string 10</BankIFSCCode> <DateOfJoining>sample string 2</DateOfJoining> <DepartmentID>1</DepartmentID> <DesignationID>1</DesignationID> <Email>sample string 4</Email> <EmployeeName>sample string 1</EmployeeName> <Gender>sample string 7</Gender> <HeadQuarter>sample string 5</HeadQuarter> <InHandSalary>1.1</InHandSalary> <MaritialStatus>sample string 8</MaritialStatus> <MobileNo>sample string 3</MobileNo> <PanNumber>sample string 12</PanNumber> <Photo1>QEA=</Photo1> <Photo2>QEA=</Photo2> <Photo3>QEA=</Photo3> <ReportingManager>sample string 6</ReportingManager> </NewJoiner>
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. |