WebSalesSkin
A single web sales skin.
More info: see the get operation and the web sales skins endpoint.
Fields
Field | Description |
---|---|
id int (required) | Unique ID Example value:123 |
name string (required) | Name of the web sales skin Example value:"Website theme" |
asseturl string (required) | The URL where the assets are stored for this webskin. This property is readonly. Example value:"https://assets.ticketmatic.com/10349/" |
configuration WebSalesSkinConfiguration (required) | Skin configuration. See the WebSalesSkinConfiguration reference for an overview of all possible options. Example value:{ "title": "{{tm.page.label | translate}} - {{tm.account.name}}" } |
css string (required) | CSS style rules. Should always include the "@import "style";" |
html string (required) | HTML template of the skin. See the web skin setup guide for more information. Example value:"<html><body>{{CONTENT}}</body></html>" |
translations map<string, string> (required) | A map of language codes to gettext .po files. More info can be found on the web skin overview page. Example value:{ "nl": "..." } |
createdts timestamp (required) | Created timestamp Example value:"2014-09-26 15:24:36" |
lastupdatets timestamp (required) | Last updated timestamp Example value:"2014-09-26 15:24:36" |
Example
1{
2 "id": 123,
3 "name": "Website theme",
4 "asseturl": "https://assets.ticketmatic.com/10349/",
5 "configuration": {
6 "title": "{{tm.page.label | translate}} - {{tm.account.name}}"
7 },
8 "css": "@import "style";",
9 "html": "<html><body>{{CONTENT}}</body></html>",
10 "translations": {
11 "nl": "..."
12 },
13 "createdts": "2014-09-26 15:24:36",
14 "lastupdatets": "2014-09-26 15:24:36"
15}