POST api/EmployeeMaster?BranchCode={BranchCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BranchCode

integer

Required

Body Parameters

H_EmployeeMaster
NameDescriptionTypeAdditional information
Id

integer

None.

EmployeeCode

string

None.

EmployeeName

string

None.

PayrollCode

string

None.

DesignationId

integer

None.

HeadEmployee

string

None.

DateOfBirth

date

None.

DateOfJoin

date

None.

DateOfAnniversary

date

None.

DepartmentId

integer

None.

PANNo

string

None.

Qualification

string

None.

MobileNo

string

None.

EmailId

string

None.

Status

string

None.

Gender

string

None.

EmployeePhoto

Collection of byte

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

LedgerCode

string

None.

MethodOfPayment

integer

None.

BankName

string

None.

IFSCCode

string

None.

MICRCode

string

None.

AccountNo

string

None.

LoginRequired

string

None.

HRCode

string

None.

BeneficiarName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmployeeCode": "sample string 2",
  "EmployeeName": "sample string 3",
  "PayrollCode": "sample string 4",
  "DesignationId": 5,
  "HeadEmployee": "sample string 6",
  "DateOfBirth": "2024-04-27T16:11:59.6329944+00:00",
  "DateOfJoin": "2024-04-27T16:11:59.6329944+00:00",
  "DateOfAnniversary": "2024-04-27T16:11:59.6329944+00:00",
  "DepartmentId": 8,
  "PANNo": "sample string 9",
  "Qualification": "sample string 10",
  "MobileNo": "sample string 11",
  "EmailId": "sample string 12",
  "Status": "sample string 13",
  "Gender": "sample string 14",
  "EmployeePhoto": "QEA=",
  "CreatedBy": 1,
  "CreatedOn": "2024-04-27T16:11:59.6329944+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-04-27T16:11:59.6329944+00:00",
  "LedgerCode": "sample string 15",
  "MethodOfPayment": 16,
  "BankName": "sample string 17",
  "IFSCCode": "sample string 18",
  "MICRCode": "sample string 19",
  "AccountNo": "sample string 20",
  "LoginRequired": "sample string 21",
  "HRCode": "sample string 22",
  "BeneficiarName": "sample string 23"
}

application/xml, text/xml

Sample:
<H_EmployeeMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <AccountNo>sample string 20</AccountNo>
  <BankName>sample string 17</BankName>
  <BeneficiarName>sample string 23</BeneficiarName>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-04-27T16:11:59.6329944+00:00</CreatedOn>
  <DateOfAnniversary>2024-04-27T16:11:59.6329944+00:00</DateOfAnniversary>
  <DateOfBirth>2024-04-27T16:11:59.6329944+00:00</DateOfBirth>
  <DateOfJoin>2024-04-27T16:11:59.6329944+00:00</DateOfJoin>
  <DepartmentId>8</DepartmentId>
  <DesignationId>5</DesignationId>
  <EmailId>sample string 12</EmailId>
  <EmployeeCode>sample string 2</EmployeeCode>
  <EmployeeName>sample string 3</EmployeeName>
  <EmployeePhoto>QEA=</EmployeePhoto>
  <Gender>sample string 14</Gender>
  <HRCode>sample string 22</HRCode>
  <HeadEmployee>sample string 6</HeadEmployee>
  <IFSCCode>sample string 18</IFSCCode>
  <Id>1</Id>
  <LedgerCode>sample string 15</LedgerCode>
  <LoginRequired>sample string 21</LoginRequired>
  <MICRCode>sample string 19</MICRCode>
  <MethodOfPayment>16</MethodOfPayment>
  <MobileNo>sample string 11</MobileNo>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-04-27T16:11:59.6329944+00:00</ModifiedOn>
  <PANNo>sample string 9</PANNo>
  <PayrollCode>sample string 4</PayrollCode>
  <Qualification>sample string 10</Qualification>
  <Status>sample string 13</Status>
</H_EmployeeMaster>

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

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.