POST api/file/cropfile
Request Information
URI Parameters
None.
Body Parameters
CropModelName | Description | Type | Additional information |
---|---|---|---|
url | string |
None. |
|
cropTop | integer |
None. |
|
cropLeft | integer |
None. |
|
cropImageWidth | integer |
None. |
|
cropImageHeight | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "url": "sample string 1", "cropTop": 2, "cropLeft": 3, "cropImageWidth": 4, "cropImageHeight": 5 }
application/xml, text/xml
Sample:
<CropModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebVKSNDTPHCM.Files.Models"> <CropHeight>5</CropHeight> <CropLeft>3</CropLeft> <CropTop>2</CropTop> <CropWidth>4</CropWidth> <Url>sample string 1</Url> </CropModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |