Suggests an optimal fielding time range for a locale
GET/demand/intelligent-calendar/suggest-time-range
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
daysparameter. - To get a suggestion within a specific date window, provide both the
startandendparameters.
These options are mutually exclusive. A request that combines days with start or end, or that provides neither, returns a 400 error.
Request
Responses
- 200
- 400
- 401
- 500
The suggested time range was calculated successfully.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
A request is not valid and can't be processed.
Authentication credentials are missing or invalid, or the caller doesn't have the role required for this operation.
A request failed due to an internal error.