Suggests an optimal fielding time range for a locale
Suggests an optimal time range to field a target group in a specific locale, taking into account local holidays and respondent activity patterns.
How to specify a time range:
- To get a suggestion for a specific duration starting from now, provide the days parameter.
- To get a suggestion within a specific date window, provide both the start and end parameters.
These options are mutually exclusive. A request that combines days with start or end, or that provides neither, returns a 400 error.
Request
- Base URLhttps://api.cint.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The number of days to field the target group. Use this parameter OR both start and end.
The start date for the fielding window (RFC3339 format). Use this parameter in conjunction with end, OR only use days.
The end date for the fielding window (RFC3339 format). Use this parameter in conjunction with start, OR only use days.
Unique text code of the locale.
Locale code.
Response
The suggested time range was calculated successfully.
Example response
{
"suggested_start": "2023-01-01T23:00:00.000Z",
"suggested_end": "2023-01-10T23:00:00.000Z",
"holidays": [
{
"date": "2023-01-01",
"name": "New Year's Day",
"respondent_rate": 0.65,
"completes_rate": 0.54
}
],
"timezone": "Europe/London"
}Changes
No recorded changes to this operation across all 1 revision of this API.