TemplateUpload

Uploads a template to the ACI server that you can use for action response layout and content. You must use multipart encoding to upload the template with the TemplateUpload action. The recommended way to submit requests that use multipart encoding is using the ACI API.

Note: An alternative to using the TemplateUpload action to make a template available to your ACI server is to save the template with the extension .tmpl to an acitemplates subdirectory in your ACI server's main installation directory.

Example

http://12.3.4.56:16000/action=TemplateUpload&TemplateName=MyTemplate&TemplateData=<data>

This action uses port 16000 to upload the template MyTemplate to the ACI server, which is located on a machine with the IP address 12.3.4.56.

Parameters

Parameter Description Required
EncryptResponse Encrypt the output.  
FileName The file to write output to.  
ForceTemplateRefresh Forces the server to load the template from disk.  
Output Write output to a file.  
ResponseFormat The format of the action output.  
Template The template to use for the action output.  
TemplateParamCSVs A list of variables to use for the specified template.  
TemplateData The multiple part template file to upload. Yes
TemplateName The name of the template to display. Yes

© 2013 Hewlett-Packard Development Company, L.P.