The GetProdsByAlertInterval
function retrieves the list of products within the specified store and department that have new alerts in the specified time period. The specified time period includes new alerts within the same time period over multiple days within the specified week.
In the resulting list, the status and action or resolution time (if available) are determined based on the available information for the current calendar week. This function retrieves the final status and action/resolution time, regardless of whether the alert has been resolved within the specified time period or not. For example, if an alert for a product was newly generated on the date specified, then it is shown in the product list. If the alert is resolved on the subsequent day, the product will have a resolved status and resolution date, even though it was considered as open in the originally specified time period.
This function requires the following parameters:
storeId
: Technical identification of the store
weekStarting
: The start of the 7 day-long week.
Example format: ‘2013-05-28T10:00:00’.
departmentId
: Technical identification of the department
periodInterval
: Start of the specified repetitive hour
<gateway-server>/sap/opu/odata/sap/<endpoint-name>/GetProdsByAlertInterval?storeId='OSA1'&weekStarting='2013-05-28T15:00:00'&departmentId='0000006227'&periodInterval='11:00:00'&sap-client=300
This function returns the following information:
Product ID
GTIN: Technical identification of the product (for example EAN)
Sub-department ID
Product description
Alert status
Timestamp when the alert was generated
Vendor ID
Vendor name
Timestamp when the alert was resolved
User who resolved the alert
Department ID
Store ID