POST api/Assets/{id}/preview
Retrieves a preview for an asset.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
Body Parameters
The model used to retrieve an asset proof.
GetAssetImageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetId | globally unique identifier |
Required |
|
| Width | integer |
Required |
|
| Height | integer |
Required |
|
| CampaignId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssetId": "44565bfc-7153-4ea7-b1d9-e7045eafd601",
"Width": 2,
"Height": 3,
"CampaignId": "8c4b53a3-30d1-4984-b18e-0fe9ad6293ef"
}
application/xml, text/xml
Sample:
<GetAssetImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Design.Models"> <AssetId>44565bfc-7153-4ea7-b1d9-e7045eafd601</AssetId> <CampaignId>8c4b53a3-30d1-4984-b18e-0fe9ad6293ef</CampaignId> <Height>3</Height> <Width>2</Width> </GetAssetImageModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.