POST api/Users/UpdateAvtarURL

Documentation for 'UpdateAvtarURL'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userid": 1,
  "avtarpath": "sample string 2"
}

application/xml, text/xml

Sample:
<UserAvtarModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoothApp.WebAPI.Controllers">
  <avtarpath>sample string 2</avtarpath>
  <userid>1</userid>
</UserAvtarModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'UserAvtarModel'.

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>