Home > Aria6 User Documentation > Aria6 admintools api > create_promotion

create_promotion

Creates a new promotion

Input Arguments

Req Field Name Field Type Max Length Description
required-icon.png client_no long 22 Aria-assigned unique identifier indicating the Aria client providing service to this account.
required-icon.png auth_key string 32 Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
required-icon.png promo_cd string 30 Unique identifier for promotion
required-icon.png promo_desc string 200 Description of promotion. Translatable.
required-icon.png promo_plan_set_no int 8 Unique identifier of promotional plan set that this promotion is associated with
  no_of_uses string 8 Maximum number of possible usage of that Promotion before it gets expired. If this parameter is set then,start_date and end_date need not be set.
  start_date string 10 Start date of given Promotion. The date format must be yyyy-mm-dd. If this parameter is set then no_of_uses need not be set. If only this parameter is set and end_date is not set, then system assumes that Promotion will never expire and it becomes valid from given start_date.
  exp_date string 10 Expiry date of given Promotion. The date format must be yyyy-mm-dd. If this parameter is set then no_of_uses need not be set. If this is set with start_date then it means that promotion will be valid between these two dates.
 

Output Arguments

Field Name Field Type Description
error_code long Aria-assigned error identifier. 0 indicates no error.
error_msg string Textual description of any error that occurred. "OK" if there was no error.
promo_cd string Unique identifier for promotion
 
 
 
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.