PUT api/Users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

User
NameDescriptionTypeAdditional information
Name

string

None.

Email

string

Max length: 100

Min length: 4

HiredDate

date

None.

UserAgreementList

Collection of UserAgreement

None.

Id

integer

None.

CreatedDate

date

None.

ModifiedDate

date

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 'User' with type 'WorkTime.Domain.Entities.User'. Path 'UserAgreementList[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 'User' with type 'WorkTime.Domain.Entities.User'. Path 'UserAgreementList[0]'.

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

Response Information

Resource Description

None.