POST api/preview/generate/base-thumbnail
Request Information
URI Parameters
None.
Body Parameters
BaseThumbnailRequestName | Description | Type | Additional information |
---|---|---|---|
ProductImageUrl | string |
None. |
|
DesignImageUrl | string |
None. |
|
ImprintAreaCoordinates | PointF |
None. |
|
ImprintAreaSize | SizeF |
None. |
|
Effect | Effect |
None. |
|
OneColorCode | string |
None. |
|
GhostscriptPath | string |
None. |
|
LaserOverlayType | LaserOverlayType |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductImageUrl": "sample string 1", "DesignImageUrl": "sample string 2", "ImprintAreaCoordinates": { "x": 1.1, "y": 2.1 }, "ImprintAreaSize": "1.1, 2.1", "Effect": 1, "OneColorCode": "sample string 3", "GhostscriptPath": "sample string 4", "LaserOverlayType": 1 }
application/xml, text/xml
Sample:
<BaseThumbnailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bel.web.api.preview.objects.Preview"> <DesignImageUrl>sample string 2</DesignImageUrl> <Effect>None</Effect> <GhostscriptPath>sample string 4</GhostscriptPath> <ImprintAreaCoordinates xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Drawing"> <d2p1:x>1.1</d2p1:x> <d2p1:y>2.1</d2p1:y> </ImprintAreaCoordinates> <ImprintAreaSize xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Drawing"> <d2p1:height>2.1</d2p1:height> <d2p1:width>1.1</d2p1:width> </ImprintAreaSize> <LaserOverlayType>Dark</LaserOverlayType> <OneColorCode>sample string 3</OneColorCode> <ProductImageUrl>sample string 1</ProductImageUrl> </BaseThumbnailRequest>
multipart/form-data
Sample:
<BaseThumbnailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bel.web.api.preview.objects.Preview"><DesignImageUrl>sample string 2</DesignImageUrl><Effect>None</Effect><GhostscriptPath>sample string 4</GhostscriptPath><ImprintAreaCoordinates xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Drawing"><d2p1:x>1.1</d2p1:x><d2p1:y>2.1</d2p1:y></ImprintAreaCoordinates><ImprintAreaSize xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Drawing"><d2p1:height>2.1</d2p1:height><d2p1:width>1.1</d2p1:width></ImprintAreaSize><LaserOverlayType>Dark</LaserOverlayType><OneColorCode>sample string 3</OneColorCode><ProductImageUrl>sample string 1</ProductImageUrl></BaseThumbnailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.