POST api/Employee/GetEmployeeDetailsbyid

Request Information

URI Parameters

None.

Body Parameters

EmpbasicModel
NameDescriptionTypeAdditional information
empid

integer

None.

empinitialname

string

None.

empfirstname

string

None.

empmiddlename

string

None.

emplastname

string

None.

empdob

date

None.

empgender

string

None.

companycode

string

None.

empcategory

string

None.

empno

integer

None.

empcode

string

None.

adharno

string

None.

adahrcardimageid

integer

None.

emppersonalcontactno

string

None.

joining

date

None.

empdept

integer

None.

emppost

integer

None.

empdesignation

integer

None.

empreportto

integer

None.

empreporttoperson

integer

None.

empstatus

string

None.

closeingdate

date

None.

postingstateid

integer

None.

emppersonalemail

string

None.

empofficialcontactno

string

None.

empemail

string

None.

empaddon

date

None.

empaddby

string

None.

lastupdatedon

date

None.

lastupdatedby

string

None.

postname

string

None.

Designation

string

None.

Department

string

None.

Empdofb

string

None.

Closeingdateof

string

None.

Joiningdate

string

None.

EmployeeName

string

None.

selectListItems

Collection of SelectListItem

None.

EmpbasicList

Collection of EmpbasicModel

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'MendinePayroll.Models.EmpbasicModel'. Path 'EmpbasicList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'MendinePayroll.Models.EmpbasicModel'. Path 'EmpbasicList'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[MendinePayroll.Models.EmpbasicModel, MendinePayroll.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[MendinePayroll.Models.EmpbasicModel, MendinePayroll.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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

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.