POST _vti_bin/DelveApi.ashx/{version}/people/me/profile/settings

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

integer

Required

Body Parameters

ProfileSettings
NameDescriptionTypeAdditional information
BackgroundPhotoType

string

None.

BackgroundPhotoOffsetX

integer

None.

BackgroundPhotoOffsetY

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BackgroundPhotoType": "sample string 1",
  "BackgroundPhotoOffsetX": 2,
  "BackgroundPhotoOffsetY": 3
}

application/xml, text/xml

Sample:
<ProfileSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.DelveApi.DataModel">
  <BackgroundPhotoOffsetX>2</BackgroundPhotoOffsetX>
  <BackgroundPhotoOffsetY>3</BackgroundPhotoOffsetY>
  <BackgroundPhotoType>sample string 1</BackgroundPhotoType>
</ProfileSettings>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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