GET api/CutAndBend/GetPreview?definitionGuid={definitionGuid}&width={width}&height={height}&scale={scale}&rotation={rotation}&optionsPreset={optionsPreset}
Gets the Cut and Bend preview image.
Access
Requires authentication.
Requires SSL.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
definitionGuid | The definition unique identifier. |
Define this parameter in the request URI. |
width | The width. |
Define this parameter in the request URI. |
height | The height. |
Define this parameter in the request URI. |
scale | The scale. |
Define this parameter in the request URI. |
rotation | The rotation. |
Define this parameter in the request URI. |
previewType | Type of the preview. |
Define this parameter in the request URI. |
optionsPreset | The options preset. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/xml, text/xml
Sample:
<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ResponseCode>1</ResponseCode> <ResponseDescription>sample string 2</ResponseDescription> <MethodExpirationDate>2025-04-29T15:42:53.603557+02:00</MethodExpirationDate> <ResponseObject> <Id>1</Id> <RemoveForbidden>true</RemoveForbidden> <Readonly>true</Readonly> <DeletedBy>1</DeletedBy> <IsDeleted>true</IsDeleted> <ImageData>QEBA</ImageData> </ResponseObject> </ApiResponse>
application/json, text/json
Sample:
{ "ResponseCode": 1, "ResponseDescription": "sample string 2", "MethodExpirationDate": "2025-04-29T15:42:53.603557+02:00", "ResponseObject": { "ImageData": "QEBA", "Id": 1, "RemoveForbidden": true, "Readonly": true, "DeletedBy": 1, "IsDeleted": true } }