POST Users/UpdateProfile

Update user profile

Request Information

URI Parameters

None.

Body Parameters

RequestUpdateUserProfile
NameDescriptionTypeAdditional information
UserID

integer

None.

FirstName

string

None.

LastName

string

None.

UserEmail

string

None.

FilterIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "UserEmail": "sample string 4",
  "FilterIDs": [
    1,
    2
  ]
}

text/html

Sample:
{"UserID":1,"FirstName":"sample string 2","LastName":"sample string 3","UserEmail":"sample string 4","FilterIDs":[1,2]}

application/xml, text/xml

Sample:
<RequestUpdateUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
  <FilterIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </FilterIDs>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <UserEmail>sample string 4</UserEmail>
  <UserID>1</UserID>
</RequestUpdateUserProfile>

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

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>