TemplateService.getTemplateContentThis is a featured page


getTemplateContent

HTTP MethodReturns
GETA template.

Overview:getTemplate retrieves a cell template. The default output of this call returns HTML suitable for a server-side include. Calling getTemplateContent through our data access API returns a cell response xml document.
Required Parameters:
template.templateId
The template to fetch.
Optional Parameters:
template.displayName
The default cell display name to return if the cell specified by cell.cellId does not currently exist. If the cell exists, this parameter is ignored. This parameter may safely be ignored if all cells are being explicitly created; otherwise, it should be treated as required.
template.url
As cell.displayName, the default cell URL to return if the specified cell does not exist.
template.currentRevision.version
If specified and the cell is currently at this version, the response will include no cell content.
Example Request ( required parameters in red ):

http://wapi.wetpaint.com/TemplateService/getTemplateContent.do?key=yourissueddeveloperkey&ns=yourassignednamespace&
template.templateId=someTemplate







boe_wetpaint
boe_wetpaint
Latest page update: made by boe_wetpaint , Oct 7 2008, 5:02 PM EDT (about this update About This Update boe_wetpaint Edited by boe_wetpaint

No content added or deleted.

- complete history)
Keyword tags: None
More Info: links to this page
Started By Thread Subject Replies Last Post
wishpot "Sorry, you are not authorized to complete this action." 1 Apr 20 2009, 4:17 PM EDT by wishpot
Thread started: Apr 16 2009, 6:26 PM EDT  Watch
When I click on the "Easy Edit" button that comes back from this control, even though I'm logged in as a user with "moderator" permission, the error "Sorry, you are not authorized to complete this action." pops up. I'm not sure what I'm supposed to do at this point. My understanding of the permissions was that there are only 3 levels, and I'm the highest level. The "Interaction Documentation" only mentions templates once, and doesn't explain it. Any help would be appreciated.
Do you find this valuable?    
Keyword tags: None
Show Last Reply
Showing 1 of 1 threads for this page