POST api/genEmployee/Save

Request Information

URI Parameters

None.

Body Parameters

genEmployee
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

OrganizationId

integer

None.

CompanyId

integer

None.

ControlTypeProfileId

integer

None.

PersonId

integer

None.

PartyLocationId

integer

None.

BillCategoryProfileId

integer

None.

EmployeeTypeProfileId

integer

None.

EmployeeCategoryId

integer

None.

ConsultantTypeProfileId

integer

None.

EmployeeHistoryId

integer

None.

AddressId

integer

None.

AddressDetail

string

None.

TitleId

integer

None.

EmployeeNo

string

None.

FistName

string

None.

MiddleName

string

None.

LastName

string

None.

CNIC

string

None.

DOB

date

None.

CNICIssueDate

date

None.

CNICExpiryDate

date

None.

GenderProfileId

integer

None.

NationalityProfileId

integer

None.

BloodGroupProfileId

integer

None.

NeedLogin

boolean

None.

PictureFilePath

string

None.

SignPictureFilePath

string

None.

SignPictureString

string

None.

EmployeePictureString

string

None.

Signature

string

None.

Mobile1

string

None.

Mobile2

string

None.

Email

string

None.

LicenseNo

string

None.

PassportNo

string

None.

PassportIssueDate

date

None.

PassportExpiryDate

date

None.

SubTitleId

integer

None.

RelationName

string

None.

RelationMobile

string

None.

Active

boolean

None.

IsApproved

boolean

None.

CreatedById

integer

None.

CreatedOn

date

None.

AlteredById

integer

None.

AlteredOn

date

None.

ActionTypeId

integer

None.

UserLogId

integer

None.

IsAllowShare

boolean

None.

CNICFrontSidePicturePath

string

None.

CNICBackSidePicturePath

string

None.

FlatSharePercent

decimal number

None.

EmployeeType

string

None.

EmployeeCategory

string

None.

TitleName

string

None.

RelationTitleName

string

None.

Gender

string

None.

Nationality

string

None.

BloodGroup

string

None.

BranchesId

integer

None.

ProjectId

integer

None.

EmployeeHistorylist

Collection of genEmployeeHistory

None.

EmployeeSalarieslist

Collection of EmployeeSalary

None.

HrmEmployeeBenefitslist

Collection of hrmEmployeeBenefit

None.

EmployeeWeekDayslist

Collection of genEmployeeWeekDay

None.

EmployeeAddressDetailslist

Collection of tblEmployeeAddressDetail

None.

EmployeeExperienceslist

Collection of hrmEmployeeExperience

None.

EmployeeEducationslist

Collection of GenEmployeeEducation

None.

EmployeeFamilyInfoslist

Collection of hrmEmployeeFamilyInfo

None.

EmployeeReferenceslist

Collection of hrmEmployeeReference

None.

EmployeeBankAccountslist

Collection of hrmEmployeeBankAccount

None.

PictureBoxPicturesToDeleteList

Collection of string

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 'Architecture.Model.HRM.EmployeeManagement.hrmEmployeeBenefit'. Path 'HrmEmployeeBenefitslist[0].EmployeeBenefitsList'.

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 'Architecture.Model.HRM.EmployeeManagement.hrmEmployeeBenefit'. Path 'HrmEmployeeBenefitslist[0].EmployeeBenefitsList'.

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[[Architecture.Model.HRM.EmployeeManagement.hrmEmployeeBenefit, Architecture.Model, 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[[Architecture.Model.HRM.EmployeeManagement.hrmEmployeeBenefit, Architecture.Model, 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 'genEmployee'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.