Entity Posting API - Sale Location Add/Update
If the SaleLocationId does not exist, a new Sale Location record will be created. If it does, it will be updated.
Triggered Updates:
- No other data effected
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 Sale Location Entity:
- ID attribute: Unique identifier for Sale Location
- String
(required)
- SiteID attribute: Unique identifier for site that the Sale Location applies to. Only populated if Sale Location is local to the site
- String
- Name: Name for Sale Location
- String
(required) - Type: Base categorisation for Sale Location
- String
- Tags: User defined list of tags they might want to filter on
- String
Worked Example of Sale Devices and Sale Locations:
BackOffice | Till | Atm | Website | App | |
---|---|---|---|---|---|
SaleDevice | Mgr-PC | Till-Pos 1 | Atm-Pos 5 | Website | Phone App |
SaleDevice Type | Internal Web (3) | Manned POS (2) | Atm (7) | External Web (5) | Mobile Phone (4) |
SaleLocation | BackOffice | BoxOffice | Foyer | Reviews Page | Listings Page |
SaleLocation Type | Local (2) | Local (2) | Local (2) | Remote (3) | Remote (3) |
Order DeviceMeta | - | - | - | Chrome | iOS9 |
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 Sale Location, 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