POST api/Employee/insertRecord

Request Information

URI Parameters

None.

Body Parameters

Employee
NameDescriptionTypeAdditional information
EmployeeId

decimal number

None.

EmployeeName

string

None.

OrganizationId

decimal number

None.

BranchId

decimal number

None.

EmployeeType

integer

None.

EmployeeCode

string

None.

Address

string

None.

Contact_No

character

None.

DesignationId

decimal number

None.

Salary

decimal number

None.

IsAbsenteeDeductionApplicable

integer

None.

EMail

string

None.

DOB

date

None.

DOJ

date

None.

DOR

date

None.

Type

integer

None.

InTime

time interval

None.

OutTime

time interval

None.

InTime2

time interval

None.

OutTime2

time interval

None.

ImageUrl

string

None.

AccountId

decimal number

None.

PAN

string

None.

UID

string

None.

BankName

string

None.

BankAccountNo

string

None.

IFSCCode

string

None.

PFAccountNo

string

None.

ESICNo

string

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

UpdatedBy

decimal number

None.

UpdatedDate

date

None.

Status

string

None.

BrowserToken

string

None.

DeviceToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1.0,
  "EmployeeName": "sample string 2",
  "OrganizationId": 3.0,
  "BranchId": 4.0,
  "EmployeeType": 5,
  "EmployeeCode": "sample string 6",
  "Address": "sample string 7",
  "Contact_No": "A",
  "DesignationId": 9.0,
  "Salary": 10.1,
  "IsAbsenteeDeductionApplicable": 11,
  "EMail": "sample string 12",
  "DOB": "2022-05-19T02:02:33.0225783+05:30",
  "DOJ": "2022-05-19T02:02:33.0225783+05:30",
  "DOR": "2022-05-19T02:02:33.0225783+05:30",
  "Type": 16,
  "InTime": "00:00:00.1234567",
  "OutTime": "00:00:00.1234567",
  "InTime2": "00:00:00.1234567",
  "OutTime2": "00:00:00.1234567",
  "ImageUrl": "sample string 21",
  "AccountId": 22.0,
  "PAN": "sample string 23",
  "UID": "sample string 24",
  "BankName": "sample string 25",
  "BankAccountNo": "sample string 26",
  "IFSCCode": "sample string 27",
  "PFAccountNo": "sample string 28",
  "ESICNo": "sample string 29",
  "EditReason": "sample string 30",
  "CreatedBy": 31.0,
  "CreatedDate": "2022-05-19T02:02:33.0225783+05:30",
  "UpdatedBy": 33.0,
  "UpdatedDate": "2022-05-19T02:02:33.0225783+05:30",
  "Status": "sample string 35",
  "BrowserToken": "sample string 36",
  "DeviceToken": "sample string 37"
}

application/xml, text/xml

Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AccountId>22</AccountId>
  <Address>sample string 7</Address>
  <BankAccountNo>sample string 26</BankAccountNo>
  <BankName>sample string 25</BankName>
  <BranchId>4</BranchId>
  <BrowserToken>sample string 36</BrowserToken>
  <Contact_No>65</Contact_No>
  <CreatedBy>31</CreatedBy>
  <CreatedDate>2022-05-19T02:02:33.0225783+05:30</CreatedDate>
  <DOB>2022-05-19T02:02:33.0225783+05:30</DOB>
  <DOJ>2022-05-19T02:02:33.0225783+05:30</DOJ>
  <DOR>2022-05-19T02:02:33.0225783+05:30</DOR>
  <DesignationId>9</DesignationId>
  <DeviceToken>sample string 37</DeviceToken>
  <EMail>sample string 12</EMail>
  <ESICNo>sample string 29</ESICNo>
  <EditReason>sample string 30</EditReason>
  <EmployeeCode>sample string 6</EmployeeCode>
  <EmployeeId>1</EmployeeId>
  <EmployeeName>sample string 2</EmployeeName>
  <EmployeeType>5</EmployeeType>
  <IFSCCode>sample string 27</IFSCCode>
  <ImageUrl>sample string 21</ImageUrl>
  <InTime>PT0.1234567S</InTime>
  <InTime2>PT0.1234567S</InTime2>
  <IsAbsenteeDeductionApplicable>11</IsAbsenteeDeductionApplicable>
  <OrganizationId>3</OrganizationId>
  <OutTime>PT0.1234567S</OutTime>
  <OutTime2>PT0.1234567S</OutTime2>
  <PAN>sample string 23</PAN>
  <PFAccountNo>sample string 28</PFAccountNo>
  <Salary>10.1</Salary>
  <Status>sample string 35</Status>
  <Type>16</Type>
  <UID>sample string 24</UID>
  <UpdatedBy>33</UpdatedBy>
  <UpdatedDate>2022-05-19T02:02:33.0225783+05:30</UpdatedDate>
</Employee>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>