POST api/Profile/UpdatePreferencese

Request Information

URI Parameters

None.

Body Parameters

vm_UpdatePreferencesResDTO
NameDescriptionTypeAdditional information
p_UserId

integer

None.

p_MinAge

integer

None.

p_MaxAge

integer

None.

p_SearchRadiusKm

integer

None.

p_LookingFor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "p_UserId": 1,
  "p_MinAge": 2,
  "p_MaxAge": 3,
  "p_SearchRadiusKm": 4,
  "p_LookingFor": "sample string 5"
}

application/xml, text/xml

Sample:
<vm_UpdatePreferencesResDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/initiate.BAL.DTO">
  <p_LookingFor>sample string 5</p_LookingFor>
  <p_MaxAge>3</p_MaxAge>
  <p_MinAge>2</p_MinAge>
  <p_SearchRadiusKm>4</p_SearchRadiusKm>
  <p_UserId>1</p_UserId>
</vm_UpdatePreferencesResDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.