POST api/RenderArtworkTemplate
Request Information
URI Parameters
None.
Body Parameters
ArtworkTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| Personalisations | Collection of Personalisation |
Required |
|
| Seed | string |
None. |
|
| TemplateFilePath | string |
None. |
|
| DownloadURL | string |
None. |
|
| AuthString | string |
None. |
|
| CreatePrintFile | boolean |
None. |
|
| FindDuplicateLayers | boolean |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| RenderType | RenderType |
None. |
|
| EnforceMaxChars | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Quality": 100,
"AuthString": "sample string 1",
"CreatePrintFile": true,
"FindDuplicateLayers": true,
"Width": 4,
"Height": 5,
"RenderType": 0,
"EnforceMaxChars": true,
"<Name>k__BackingField": "sample string 1",
"<Personalisations>k__BackingField": [
{
"LayerName": "sample string 1",
"Value": "sample string 2",
"PersonalisationType": 1
},
{
"LayerName": "sample string 1",
"Value": "sample string 2",
"PersonalisationType": 1
}
],
"<Seed>k__BackingField": "sample string 2",
"<TemplateFilePath>k__BackingField": "sample string 3",
"<DownloadURL>k__BackingField": "sample string 4"
}
application/xml, text/xml
Sample:
<ArtworkTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtworkService.Models">
<AuthString>sample string 1</AuthString>
<CreatePrintFile>true</CreatePrintFile>
<EnforceMaxChars>true</EnforceMaxChars>
<FindDuplicateLayers>true</FindDuplicateLayers>
<Height>5</Height>
<Quality>100</Quality>
<RenderType>Template</RenderType>
<Width>4</Width>
<_x003C_DownloadURL_x003E_k__BackingField>sample string 4</_x003C_DownloadURL_x003E_k__BackingField>
<_x003C_Name_x003E_k__BackingField>sample string 1</_x003C_Name_x003E_k__BackingField>
<_x003C_Personalisations_x003E_k__BackingField>
<Personalisation>
<LayerName>sample string 1</LayerName>
<PersonalisationType>String</PersonalisationType>
<Value>sample string 2</Value>
</Personalisation>
<Personalisation>
<LayerName>sample string 1</LayerName>
<PersonalisationType>String</PersonalisationType>
<Value>sample string 2</Value>
</Personalisation>
</_x003C_Personalisations_x003E_k__BackingField>
<_x003C_Seed_x003E_k__BackingField>sample string 2</_x003C_Seed_x003E_k__BackingField>
<_x003C_TemplateFilePath_x003E_k__BackingField>sample string 3</_x003C_TemplateFilePath_x003E_k__BackingField>
</ArtworkTemplate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |