createTemplate

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

新しいオファー・テンプレートを作成します。

パラメーター

userCredential: クライアント・ユーザー資格情報。

partitionName: 使用するキャンペーン・パーティションの名前 (オプション)。

requestedLocale: この要求で使用するロケール (オプション)。

name: 新しく作成されるオファー・テンプレートの名前。

securityPolicyName: 使用するセキュリティー・ポリシーの名前。

wsStaticAttributes: テンプレート内の静的属性のリスト。

wsHiddenAttributes: テンプレート内の非表示属性のリスト。

wsParametricAttributes: テンプレート内のパラメトリック属性のリスト。

リターン

タイプ WSCreateTemplateResponse のオブジェクトを戻します。

エラー

オファー・テンプレートが存在しない場合、または参照が無効であるか参照が指定されていない場合、CampaignServicesException をスローします。