PUT api/me/properties/{userPropertyId}/appeals/{propertyAppealId}/notes/{appealNoteId}

This method should be used to update existing appeal note on an active appeal

Requires Authorization!

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userPropertyId

User property id

integer

Required

propertyAppealId

Active appeal record id

integer

Required

appealNoteId

Existing appeal note id

integer

Required

Body Parameters

Instance of

UpdateAppealNoteBindingModel
NameDescriptionTypeAdditional information
UserId

integer

None.

Content

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "content": "sample string 2"
}

text/html

Sample:
{"userId":1,"content":"sample string 2"}

application/xml, text/xml

Sample:
<UpdateAppealNoteBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.AppealBinding">
  <Content>sample string 2</Content>
  <UserId>1</UserId>
</UpdateAppealNoteBindingModel>

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

Response Information

Resource Description

Instance of

UserPropertyAppealNote
NameDescriptionTypeAdditional information
Id

integer

None.

Note

string

None.

CreatedDate

date

None.

DeletedDate

date

None.

UserId

integer

None.

UserPropertyAppealId

integer

None.

User

AspNetUser

None.

UserPropertyAppeal

UserPropertyAppeal

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 with type 'Ptd.Model.Entities.UserPropertyAppealNote'. Path 'userPropertyAppeal.appealNotes'.

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 'Ptd.Model.Entities.UserPropertyAppealNote'. Path 'userPropertyAppeal.appealNotes'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected with type 'Ptd.Model.Entities.UserPropertyAppealNote'. Path 'userPropertyAppeal.appealNotes'.

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[[Ptd.Model.Entities.UserPropertyAppealNote, Ptd.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[[Ptd.Model.Entities.UserPropertyAppealNote, Ptd.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.