POST UserNotes/Update

Update user notes for video

Request Information

URI Parameters

None.

Body Parameters

RequestUserNotesUpdate
NameDescriptionTypeAdditional information
UserID

integer

None.

VideoID

integer

None.

Notes

Leave blank, will delete note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "VideoID": 2,
  "Notes": "sample string 3"
}

text/html

Sample:
{"UserID":1,"VideoID":2,"Notes":"sample string 3"}

application/xml, text/xml

Sample:
<RequestUserNotesUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
  <Notes>sample string 3</Notes>
  <UserID>1</UserID>
  <VideoID>2</VideoID>
</RequestUserNotesUpdate>

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

Response Information

Resource Description

Success
NameDescriptionTypeAdditional information
success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true
}

text/html

Sample:
{"success":true}

application/xml, text/xml

Sample:
<Success xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
  <success>true</success>
</Success>