PUT api/Preferences?userID={userID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

integer

Required

Body Parameters

PreferencesModel
NameDescriptionTypeAdditional information
PeopleID

integer

None.

ScoredDays

integer

None.

ShowProfiles

string

None.

HomePage

string

None.

strFirstName

string

None.

strLastName

string

None.

strEmail1

string

None.

strWorkPhone

string

None.

strCellPhone

string

None.

strPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PeopleID": 1,
  "ScoredDays": 2,
  "ShowProfiles": "sample string 3",
  "HomePage": "sample string 4",
  "strFirstName": "sample string 5",
  "strLastName": "sample string 6",
  "strEmail1": "sample string 7",
  "strWorkPhone": "sample string 8",
  "strCellPhone": "sample string 9",
  "strPassword": "sample string 10"
}

application/xml, text/xml

Sample:
<PreferencesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Preferences">
  <HomePage>sample string 4</HomePage>
  <PeopleID>1</PeopleID>
  <ScoredDays>2</ScoredDays>
  <ShowProfiles>sample string 3</ShowProfiles>
  <strCellPhone>sample string 9</strCellPhone>
  <strEmail1>sample string 7</strEmail1>
  <strFirstName>sample string 5</strFirstName>
  <strLastName>sample string 6</strLastName>
  <strPassword>sample string 10</strPassword>
  <strWorkPhone>sample string 8</strWorkPhone>
</PreferencesModel>

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

Response Information

Resource Description

None.