Search the Aria Knowledgebase for
User Documentation, APIs, SDKs, and more!

 

Home > Aria Crescendo admintools api > get_discount_rules_m

get_discount_rules_m

Lists all the discount rules for the client

Input Arguments

Req Field Name Field Type Max Length Description
client_no long 22 Aria-assigned unique identifier indicating the Aria client providing service to this account.
auth_key string 32 Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
  locale_no int 38 Aria-assigned unique identifier of the locale used for translations.
  OR      
  locale_name string 32 Name of the locale to which the translations belong.
  include_translations string 1 Setting this flag as True will fetch the translated fields in all the locales defined. If not passed it defaults to False.   Allowable Values

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.
discount_rules hash  
rule_no int Specifies the no for the discount rule.
rule_id string Specifies client rule id for Discount Rule
description string Specifies description for the Discount Rule
ext_description string Specifies description that can be added to invoice/statment and is visible to account holder.
discount_type string Specifies whether the discount is going to be flat or percentage based.
amount float Specifies the amount of discount.
discount_rule_translations hash Array that contains all the translated values for a given locale.
locale_name string Name of the locale.
locale_no int Aria-assigned unique identifier of the locale used for translations.
rule_no int Specifies the no for the discount rule.
description string Specifies description for the Discount Rule
ext_description string Specifies description that can be added to invoice/statment and is visible to account holder.
currency string  

You must to post a comment.
Last modified
13:03, 2 Mar 2017

Tags

This page has no custom tags.

Classifications

This page has no classifications.