The GetDeptsForUnresolvedAlerts
function retrieves the list of departments with unresolved alerts, for further investigation. The returned list is a main entry point for a user interface application, allowing drill-down for associated department details. The resulting list is restricted to the specified week. However, there can be departments for which open alerts exist in the previous week. These are alerts that were not resolved prior to the week that is specified as the current one. The affected departments are also included in the resulting list.
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’.
<gateway-server>/sap/opu/odata/sap/<endpoint-name>/GetDeptsForUnresolvedAlerts?storeId='OSA1'&weekStarting='2013-05-28T10:00:00'&sap-client=300
This function returns the following information:
Department ID
Department name