POST api/usersettings/userprofilepicture/crop

Crops a UserProfilePicture.



Request Information

URI Parameters

None.



Body Parameters

The coordinates to use for cropping the UserProfilePicture.

PostCroppingCoordinatesViewModel
NameDescriptionTypeAdditional information
X1

integer

None.

X2

integer

None.

Y1

integer

None.

Y2

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "X1": 1,
  "X2": 2,
  "Y1": 3,
  "Y2": 4
}

application/xml, text/xml

Sample:
<PostCroppingCoordinatesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels.UserSettings">
  <X1>1</X1>
  <X2>2</X2>
  <Y1>3</Y1>
  <Y2>4</Y2>
</PostCroppingCoordinatesViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A string representing the the 128x128 cropped UserProfilePicture.

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>