Entity Posting API - Discount Type Add/Update
If the DiscountID does not exist, a new Discount Type record will be created. If it does, it will be updated.
Triggered Updates:
- The type and discription for any existing transactions with the DiscountID and SiteID will be updated
Standard ShowTimeAnalytics Message Parameters:
- DataSupplierID: Assigned unique identifier for your account
- String
(required) - MessageSequence: Unique sequence number incremented for each message posted
- Long
(required) - CallbackUrl: Dataprovider defined URL that result of processing the message is posted back to
- String
Fields for Discount Type Entity:
- ID attribute: Unique identifier for Discount Type
- String
(required)
- SiteID attribute: Unique identifier for site that the discount type applies to. Only populated if discount type is local to the site
- String
- Name: Name for discount type
- String
(required) - Type: Base categorisation for discount type
- String
- Tags: User defined list of tags they might want to filter on
- String
- Description: String description of discount type
- String
PLEASE NOTE: All field and attribute names are case sensitive
Message Structure - XML:
Callback Post Fields:
- DataSupplierID: Unique identifier for your account, same as passed in post message
- MessageSequence: Unique sequence number for message, same as passed in post message
- ID attribute: Unique identifier for Discount Type, same as passed in post message
- Status: Processing result flag - ok/error
- Error: If the status flag is "error", list of warning messages during processing