This process allows for the r scripts to be re-run for specified populations. This is accomplished by sending a POST request to the insights plus back end. The body will include an array of population GUID’s for each population to be re-run. This request will require a valid JWT from the site being used (production or staging).
- Staging: https://apims-insightsp-qa.azure-api.net/api/insights/populations/rerun
- Production: https://apims-insightsp.azure-api.net/api/insights/populations/rerun (unverified)
Body (note camelCase properties):
{
"type": "PopulationRerunSelectRequest",
"populationIds": ["population GUID","population GUID", etc]
}
TIP: To find a population GUID, open insightsplus, navigate to My Populations, and select the population. The GUID will appear in the URL.
The R Script running process will post messages to the Teams AppDev Channel.
Leave a Reply