POST api/CutterImage

Documentation for 'PostCutter'.

Request Information

Parameters

NameDescriptionAdditional information
entity
Documentation for 'entity'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "src": "sample string 1",
  "savePath": "sample string 2",
  "left": 3,
  "top": 4,
  "width": 5,
  "height": 6
}

application/xml, text/xml

Sample:
<ImageCutterEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T_CloudFile.Controllers">
  <height>6</height>
  <left>3</left>
  <savePath>sample string 2</savePath>
  <src>sample string 1</src>
  <top>4</top>
  <width>5</width>
</ImageCutterEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'ImageCutterEntity'.

Response Information

Response body 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>