POST api/StaffInfoModels/PostStaffInfoModel

Request Information

URI Parameters

None.

Body Parameters

StaffInfoModel
NameDescriptionTypeAdditional information
ID

integer

None.

AccountType

integer

None.

EmailID

string

None.

ManagerID

integer

None.

FirstName

string

None.

LastName

string

None.

FullName

string

None.

Password

string

None.

ConfirmPassword

string

None.

DateArchived

date

None.

LastLoginDate

date

None.

UserID

integer

None.

ImagePath

string

None.

SignaturePath

string

None.

IsArchived

boolean

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

ProfileBio

string

None.

Phone

string

None.

AlternatePhone

string

None.

MailingAddress

string

None.

AllocatedAnnualLeave

integer

None.

RemainingHours

integer

None.

AnnualLeaveRemarks

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

staffRole

string

None.

StaffTypeList

Collection of integer

None.

StaffTypeNameList

Collection of string

None.

listOfProject

Collection of ProjectReportModel

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 for property 'StaffInfoModel' with type 'BusinessEntities.Models.StaffInfoModel'. Path 'listOfProject[0]'.

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 for property 'StaffInfoModel' with type 'BusinessEntities.Models.StaffInfoModel'. Path 'listOfProject[0]'.

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 'BusinessEntities.Models.ProjectReportModel' 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 'StaffInfoModel'.

Response Information

Resource Description

StaffInfoModel
NameDescriptionTypeAdditional information
ID

integer

None.

AccountType

integer

None.

EmailID

string

None.

ManagerID

integer

None.

FirstName

string

None.

LastName

string

None.

FullName

string

None.

Password

string

None.

ConfirmPassword

string

None.

DateArchived

date

None.

LastLoginDate

date

None.

UserID

integer

None.

ImagePath

string

None.

SignaturePath

string

None.

IsArchived

boolean

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

ProfileBio

string

None.

Phone

string

None.

AlternatePhone

string

None.

MailingAddress

string

None.

AllocatedAnnualLeave

integer

None.

RemainingHours

integer

None.

AnnualLeaveRemarks

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

staffRole

string

None.

StaffTypeList

Collection of integer

None.

StaffTypeNameList

Collection of string

None.

listOfProject

Collection of ProjectReportModel

None.

Response 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 for property 'StaffInfoModel' with type 'BusinessEntities.Models.StaffInfoModel'. Path 'listOfProject[0]'.

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 for property 'StaffInfoModel' with type 'BusinessEntities.Models.StaffInfoModel'. Path 'listOfProject[0]'.

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 'BusinessEntities.Models.ProjectReportModel' contains cycles and cannot be serialized if reference tracking is disabled.