| Parameter | Type | Required? | Description |
|---|---|---|---|
| sending | Hash | yes | A full sending entity. See parameters of Predict Sending KPI |
| date_start | String | yes | Start date of prediction. Format: YYYY-MM-DD |
| date_end | String | yes | End date of prediction. Format: YYYY-MM-DD |
| interval | Integer | yes | Interval of prediction in seconds as an integer (e.g. 86400) |
When successful, returns:
{
"predictions": [
{
"prediction": 0.1,
"timestamp": "2020-01-01 00:00:00"
},
{
"prediction": 0.2,
"timestamp": "2020-01-01 01:00:00"
},
{
"prediction": 0.3,
"timestamp": "2020-01-01 02:00:00"
}
]
}curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/ml/sending/predict_sending_kpi_in_date_range' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json'{}