POST api/preview/generate

Request Information

URI Parameters

None.

Body Parameters

PreviewDetailsRequest
NameDescriptionTypeAdditional information
Item

string

None.

ItemColor

string

None.

ItemMaterial

string

None.

Location

string

None.

ToLocation

string

None.

DesignId

string

None.

Art

string

None.

OneColorMode

boolean

None.

OneColorModeColor

string

None.

MaxWidth

integer

None.

MaxHeight

integer

None.

ReturnType

integer

None.

Effect

Effect

None.

OneColorCode

string

None.

AssetUrl

string

None.

MaximizeImprint

boolean

None.

PreviewType

PreviewType

None.

IAType

ImprintAreaType

None.

AddonSKU

string

None.

Source

PreviewCallSource

None.

Request Formats

application/json, text/json

Sample:
{
  "Item": "sample string 1",
  "ItemColor": "sample string 2",
  "ItemMaterial": "sample string 3",
  "Location": "sample string 4",
  "ToLocation": "sample string 5",
  "DesignId": "sample string 6",
  "Art": "sample string 7",
  "OneColorMode": true,
  "OneColorModeColor": "sample string 9",
  "MaxWidth": 10,
  "MaxHeight": 11,
  "ReturnType": 12,
  "Effect": 1,
  "OneColorCode": "sample string 13",
  "AssetUrl": "sample string 14",
  "MaximizeImprint": true,
  "PreviewType": 0,
  "IAType": 0,
  "AddonSKU": "sample string 16",
  "Source": 0
}

application/xml, text/xml

Sample:
<PreviewDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bel.web.api.preview.objects.Preview">
  <AddonSKU>sample string 16</AddonSKU>
  <Art>sample string 7</Art>
  <AssetUrl>sample string 14</AssetUrl>
  <DesignId>sample string 6</DesignId>
  <Effect>None</Effect>
  <IAType>Default</IAType>
  <Item>sample string 1</Item>
  <ItemColor>sample string 2</ItemColor>
  <ItemMaterial>sample string 3</ItemMaterial>
  <Location>sample string 4</Location>
  <MaxHeight>11</MaxHeight>
  <MaxWidth>10</MaxWidth>
  <MaximizeImprint>true</MaximizeImprint>
  <OneColorCode>sample string 13</OneColorCode>
  <OneColorMode>true</OneColorMode>
  <OneColorModeColor>sample string 9</OneColorModeColor>
  <PreviewType>Full</PreviewType>
  <ReturnType>12</ReturnType>
  <Source>Unknown</Source>
  <ToLocation>sample string 5</ToLocation>
</PreviewDetailsRequest>

multipart/form-data

Sample:
<PreviewDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bel.web.api.preview.objects.Preview"><AddonSKU>sample string 16</AddonSKU><Art>sample string 7</Art><AssetUrl>sample string 14</AssetUrl><DesignId>sample string 6</DesignId><Effect>None</Effect><IAType>Default</IAType><Item>sample string 1</Item><ItemColor>sample string 2</ItemColor><ItemMaterial>sample string 3</ItemMaterial><Location>sample string 4</Location><MaxHeight>11</MaxHeight><MaxWidth>10</MaxWidth><MaximizeImprint>true</MaximizeImprint><OneColorCode>sample string 13</OneColorCode><OneColorMode>true</OneColorMode><OneColorModeColor>sample string 9</OneColorModeColor><PreviewType>Full</PreviewType><ReturnType>12</ReturnType><Source>Unknown</Source><ToLocation>sample string 5</ToLocation></PreviewDetailsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.