createTemplate

createTemplate(String userCredential, String partitionName, Locale requestedLocale,
 String name, String securityPolicyName ,WSAttribute[]
 wsStaticAttributes,WSAttribute[] wsHiddenAttributes,
WSAttribute[] wsParametricAttributes)
 throws CampaignServicesException																			

Creates a new offer template.

Parameters

userCredential: the client user credential.

partitionName: optional name of the campaign partition to use.

requestedLocale: optional locale to use for this request.

name: name of newly created offer template.

securityPolicyName: name of security policy to use.

wsStaticAttributes: list of static attributes in template.

wsHiddenAttributes: list of hidden attributes in template.

wsParametricAttributes: list of parametric attributes in template.

Returns

Returns object of type WSCreateTemplateResponse.

Errors

Throws CampaignServicesException if the offer template does not exist or the reference is invalid or no references provided.