POST api/EmployeeMasterPersonalDetails/AddEmpPersonalDetails

Request Information

URI Parameters

None.

Body Parameters

EmployeeMasterPersonalDetails
NameDescriptionTypeAdditional information
Emp_Id

integer

None.

CompId

integer

None.

BranchId

integer

None.

DepartmentId

integer

None.

DesignationId

integer

None.

ContractorId

integer

None.

Country_Id

integer

None.

State_Id

integer

None.

City_Id

integer

None.

SexId

integer

None.

ReligionId

integer

None.

MaritalStatusId

integer

None.

BloodGroupId

integer

None.

Employeement_Type_Id

integer

None.

Emp_Name

string

None.

Emp_Code

string

None.

Emp_TempAddress

string

None.

Emp_PerAddress

string

None.

Emp_DOB

string

None.

Emp_DOJ

string

None.

Emp_PassportNo

string

None.

Emp_PassportValidTill

string

None.

Emp_EmailId

string

None.

Emp_ContactNo

string

None.

Emp_PAN

string

None.

Emp_PFN

string

None.

Emp_ESIN

string

None.

OperationType

string

None.

IsActive

integer

None.

CreatedBy

integer

None.

CreatedDateTime

string

None.

MachineIP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Emp_Id": 1,
  "CompId": 2,
  "BranchId": 3,
  "DepartmentId": 4,
  "DesignationId": 5,
  "ContractorId": 6,
  "Country_Id": 7,
  "State_Id": 8,
  "City_Id": 9,
  "SexId": 10,
  "ReligionId": 11,
  "MaritalStatusId": 12,
  "BloodGroupId": 13,
  "Employeement_Type_Id": 14,
  "Emp_Name": "sample string 15",
  "Emp_Code": "sample string 16",
  "Emp_TempAddress": "sample string 17",
  "Emp_PerAddress": "sample string 18",
  "Emp_DOB": "sample string 19",
  "Emp_DOJ": "sample string 20",
  "Emp_PassportNo": "sample string 21",
  "Emp_PassportValidTill": "sample string 22",
  "Emp_EmailId": "sample string 23",
  "Emp_ContactNo": "sample string 24",
  "Emp_PAN": "sample string 25",
  "Emp_PFN": "sample string 26",
  "Emp_ESIN": "sample string 27",
  "OperationType": "sample string 28",
  "IsActive": 29,
  "CreatedBy": 30,
  "CreatedDateTime": "sample string 31",
  "MachineIP": "sample string 32"
}

application/xml, text/xml

Sample:
<EmployeeMasterPersonalDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models">
  <BloodGroupId>13</BloodGroupId>
  <BranchId>3</BranchId>
  <City_Id>9</City_Id>
  <CompId>2</CompId>
  <ContractorId>6</ContractorId>
  <Country_Id>7</Country_Id>
  <CreatedBy>30</CreatedBy>
  <CreatedDateTime>sample string 31</CreatedDateTime>
  <DepartmentId>4</DepartmentId>
  <DesignationId>5</DesignationId>
  <Emp_Code>sample string 16</Emp_Code>
  <Emp_ContactNo>sample string 24</Emp_ContactNo>
  <Emp_DOB>sample string 19</Emp_DOB>
  <Emp_DOJ>sample string 20</Emp_DOJ>
  <Emp_ESIN>sample string 27</Emp_ESIN>
  <Emp_EmailId>sample string 23</Emp_EmailId>
  <Emp_Id>1</Emp_Id>
  <Emp_Name>sample string 15</Emp_Name>
  <Emp_PAN>sample string 25</Emp_PAN>
  <Emp_PFN>sample string 26</Emp_PFN>
  <Emp_PassportNo>sample string 21</Emp_PassportNo>
  <Emp_PassportValidTill>sample string 22</Emp_PassportValidTill>
  <Emp_PerAddress>sample string 18</Emp_PerAddress>
  <Emp_TempAddress>sample string 17</Emp_TempAddress>
  <Employeement_Type_Id>14</Employeement_Type_Id>
  <IsActive>29</IsActive>
  <MachineIP>sample string 32</MachineIP>
  <MaritalStatusId>12</MaritalStatusId>
  <OperationType>sample string 28</OperationType>
  <ReligionId>11</ReligionId>
  <SexId>10</SexId>
  <State_Id>8</State_Id>
</EmployeeMasterPersonalDetails>

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 'EmployeeMasterPersonalDetails'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.