GET api/TemplateObjects/GetAllTemplates
Gets all available Site Templates.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "Name": "Choice Orange", "Description": { "Categories": "Choice Orange", "Keywords": "White, Gray, Grey, Orange", "BrowseOrder": null }, "ThemeNames": [] }, { "Name": "Innovation", "Description": { "Categories": "Innovation", "Keywords": "White, Black, Orange", "BrowseOrder": 0 }, "ThemeNames": [ "Blue", "Earthtone Red and Blue", "Grayscale and Yellow", "Greenery and Orange", "Greenery and Pearl", "Infrared and Purple", "Orange", "Rose Gold" ] } ]
application/xml, text/xml
Sample:
<ArrayOfSiteTemplateUI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <SiteTemplateUI> <Description> <BrowseOrder i:nil="true" /> <Categories>Choice Orange</Categories> <Keywords>White, Gray, Grey, Orange</Keywords> </Description> <Name>Choice Orange</Name> <ThemeNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> </SiteTemplateUI> <SiteTemplateUI> <Description> <BrowseOrder>0</BrowseOrder> <Categories>Innovation</Categories> <Keywords>White, Black, Orange</Keywords> </Description> <Name>Innovation</Name> <ThemeNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>Blue</d3p1:string> <d3p1:string>Earthtone Red and Blue</d3p1:string> <d3p1:string>Grayscale and Yellow</d3p1:string> <d3p1:string>Greenery and Orange</d3p1:string> <d3p1:string>Greenery and Pearl</d3p1:string> <d3p1:string>Infrared and Purple</d3p1:string> <d3p1:string>Orange</d3p1:string> <d3p1:string>Rose Gold</d3p1:string> </ThemeNames> </SiteTemplateUI> </ArrayOfSiteTemplateUI>