POST EventManagement/SaveTemplate
Request Information
URI Parameters
None.
Body Parameters
TicketLayoutModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LayoutName | string |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| BackgroundColor | string |
None. |
|
| BackgroundImageBase64 | string |
None. |
|
| BackgroundImageUrl | string |
None. |
|
| BorderRadius | integer |
None. |
|
| HeaderHeight | integer |
None. |
|
| FooterHeight | integer |
None. |
|
| FontColor | string |
None. |
|
| FontFamily | string |
None. |
|
| BackgroundSize | string |
None. |
|
| Fields | Collection of TicketField |
None. |
|
| ThumbnailUrl | string |
None. |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LayoutName": "sample string 1",
"Width": 2,
"Height": 3,
"BackgroundColor": "sample string 4",
"BackgroundImageBase64": "sample string 5",
"BackgroundImageUrl": "sample string 6",
"BorderRadius": 7,
"HeaderHeight": 8,
"FooterHeight": 9,
"FontColor": "sample string 10",
"FontFamily": "sample string 11",
"BackgroundSize": "sample string 12",
"Fields": [
{
"FieldName": "sample string 1",
"DisplayText": "sample string 2",
"X": 3,
"Y": 4,
"Width": 5,
"Height": 6,
"Color": "sample string 7",
"FontSize": 8,
"FontFamily": "sample string 9",
"IsBold": true,
"IsItalic": true,
"IsQRCode": true
},
{
"FieldName": "sample string 1",
"DisplayText": "sample string 2",
"X": 3,
"Y": 4,
"Width": 5,
"Height": 6,
"Color": "sample string 7",
"FontSize": 8,
"FontFamily": "sample string 9",
"IsBold": true,
"IsItalic": true,
"IsQRCode": true
}
],
"ThumbnailUrl": "sample string 13",
"CreatedBy": "sample string 14"
}
application/xml, text/xml
Sample:
<TicketLayoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventManagementAPI.Models">
<BackgroundColor>sample string 4</BackgroundColor>
<BackgroundImageBase64>sample string 5</BackgroundImageBase64>
<BackgroundImageUrl>sample string 6</BackgroundImageUrl>
<BackgroundSize>sample string 12</BackgroundSize>
<BorderRadius>7</BorderRadius>
<CreatedBy>sample string 14</CreatedBy>
<Fields>
<TicketField>
<Color>sample string 7</Color>
<DisplayText>sample string 2</DisplayText>
<FieldName>sample string 1</FieldName>
<FontFamily>sample string 9</FontFamily>
<FontSize>8</FontSize>
<Height>6</Height>
<IsBold>true</IsBold>
<IsItalic>true</IsItalic>
<IsQRCode>true</IsQRCode>
<Width>5</Width>
<X>3</X>
<Y>4</Y>
</TicketField>
<TicketField>
<Color>sample string 7</Color>
<DisplayText>sample string 2</DisplayText>
<FieldName>sample string 1</FieldName>
<FontFamily>sample string 9</FontFamily>
<FontSize>8</FontSize>
<Height>6</Height>
<IsBold>true</IsBold>
<IsItalic>true</IsItalic>
<IsQRCode>true</IsQRCode>
<Width>5</Width>
<X>3</X>
<Y>4</Y>
</TicketField>
</Fields>
<FontColor>sample string 10</FontColor>
<FontFamily>sample string 11</FontFamily>
<FooterHeight>9</FooterHeight>
<HeaderHeight>8</HeaderHeight>
<Height>3</Height>
<LayoutName>sample string 1</LayoutName>
<ThumbnailUrl>sample string 13</ThumbnailUrl>
<Width>2</Width>
</TicketLayoutModel>
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.