create_discount_bundle_m
Summary
| API Name | create_discount_bundle_m |
|---|---|
| Class | administration_services_m |
| Update Version | 6.12 |
Description
Creates a discount bundle
Inputs
| Name | Type | Length | Required | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| client_no | long | 12 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
||||||
| auth_key | string | 32 | Yes |
Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. |
||||||
| bundle_name | string | 300 | Yes |
Specifies the name for the discount bundle. |
||||||
| bundle_id | string | 30 | Yes |
Specifies bundle id for discount Bundle |
||||||
| bundle_description | string | 300 | Yes |
Specifies description for the discount Bundle |
||||||
| allow_overlap_ind | string | 1 | Yes |
Specifies if the rules in the bundle can overlap or not. Allowed values:
|
||||||
| rules | int | 12 | No |
Specifies the rules to be grouped in this bundle. REST input arrays should be passed in the following format: rules[1]=1002&rules[2]=103 Alternative field: rule_ids |
||||||
| rule_ids | string | 100 | No |
Specifies the rules to be grouped in this bundle. REST input arrays should be passed in the following format: rule_ids[1]=1002&rule_ids[2]=103 |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error |
|
| error_msg | string | No |
Textual description of any error that occurred. "OK" if there was no error. |
|
| bundle_no | long | No |
Bundle No |