Used when a Unit In-charge filters the dashboard by SHG (worker input IS_SHG = true). FetchAnalyticsDataWorker sends the selected SHG codes and stores the totals in KEY_ANALYTICS_DATA for the dashboard. A failure caches an empty list.
Headers
Header
Value
Notes
X-SESSIONID
<session token>
Not set by the call site. AuthInterceptor (OkHttpClientInterceptor) adds it from AndroidSessionManager. On a 401 or 400 it invalidates the token, gets a fresh one and retries once.
Parameters
Param
In
Required
Example
Notes
datasetName
path
Yes
PlusOneCadreAnalyticsSHGWiseSum
Dataset name in the path of commons-report-service /api/v1/datasets/name/{name}/execute.
version
query
Yes
1
Dataset version. Always 1.
format
query
Yes
json
Response format. Always json, so the body is a JSON array of row objects.
params
query
Yes
IN_PARAM_SHG_CODE=SHG-ALIAS-001,SHG-ALIAS-002
Dataset input parameters as KEY=value pairs joined with "--". IN_PARAM_SHG_CODE = comma-separated SHG codes selected in the dashboard filter.