POST api/Editor/Crop

'Crop' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
oCropInfo
'oCropInfo' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "site": "sample string 1",
  "Type": "sample string 2",
  "SourceFile": "sample string 3",
  "cropX": 4,
  "cropY": 5,
  "cropW": 6,
  "cropH": 7
}

application/xml, text/xml

Sample:
<EditorController.CropInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Controllers">
  <SourceFile>sample string 3</SourceFile>
  <Type>sample string 2</Type>
  <cropH>7</cropH>
  <cropW>6</cropW>
  <cropX>4</cropX>
  <cropY>5</cropY>
  <site>sample string 1</site>
</EditorController.CropInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>