POST CropPortrait
Request Information
URI Parameters
None.
Body Parameters
PortraitCropRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Portrait | string |
None. |
|
| CropPoints | CropPoints |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Portrait": "sample string 1",
"CropPoints": {
"X": 1,
"Y": 2,
"Width": 3,
"Height": 4
},
"Token": "sample string 2"
}
application/xml, text/xml
Sample:
<PortraitCropRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AfiswitchCIOD.Models">
<Token>sample string 2</Token>
<CropPoints>
<Height>4</Height>
<Width>3</Width>
<X>1</X>
<Y>2</Y>
</CropPoints>
<Portrait>sample string 1</Portrait>
</PortraitCropRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PortraitCropResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CroppedPortrait | string |
None. |
|
| Response | Response |
None. |
Response Formats
application/json, text/json
Sample:
{
"CroppedPortrait": "sample string 1",
"Response": {
"ResponseCode": 1,
"ResponseMessage": "sample string 2"
}
}
application/xml, text/xml
Sample:
<PortraitCropResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AfiswitchCIOD.Models">
<Response>
<ResponseCode>1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</Response>
<CroppedPortrait>sample string 1</CroppedPortrait>
</PortraitCropResponse>