Placewise API
Get startedExplore
Get startedExplore
Performance Cloud 🗗
Placewise 🗗
ExplorePublic APIManagement APIUsers APIOperations APIMessaging APIReporting APIML API
Data API
ExplorePublic APIManagement APIUsers APIOperations APIMessaging APIReporting APIML API
Data API
  1. Deprecated
  • Introduction
  • Sendings
    • Deprecated
      • Predict Sending KPI v1
        POST
      • Explain Sending KPI Prediction v1
        POST
      • Predict Sending KPI In Date Range v1
        POST
      • Explain Sending Text KPI Prediction v1
        POST
    • Predict Sending Text Popularity
      POST
    • Explain Sending Text Popularity Prediction
      POST
    • Predict Sending Time Series Popularity
      POST
    • Explain Sending Time Series Popularity Prediction
      POST
    • Predict Sending Popularity
      POST
    • Predict Bulk Sending Popularity
      POST
    • Explain Sending Popularity Prediction
      POST
    • Recommend sending time
      POST
  • Detect receipt fraud
    POST
  • Predict item classes
    POST
  • Generate Image
    POST
  • Generate Image Caption
    POST
  • Generate Text
    POST
  • Generate Sending Text
    POST
  • Explain Sending Text Popularity Prediction
    POST
  1. Deprecated

Predict Sending KPI In Date Range v1

POST
https://api.mpc.dev.placewise.com/v1/ml/sending/predict_sending_kpi_in_date_range
API Permit:ML:Sending:KPIInDateRangePrediction
API Context:Loyalty Club
Authorizations:UserToken
Returns predictions for selected kpi for a given sending entity in a date range.

Body Parameters#

ParameterTypeRequired?Description
sendingHashyesA full sending entity. See parameters of Predict Sending KPI
date_startStringyesStart date of prediction. Format: YYYY-MM-DD
date_endStringyesEnd date of prediction. Format: YYYY-MM-DD
intervalIntegeryesInterval of prediction in seconds as an integer (e.g. 86400)

Example#

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"
    }
  ]
}

Request

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C#
Ruby
Request Request Example
Shell
JavaScript
Java
Swift
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'

Responses

🟢200Success
application/json
Body

Example
{}
Previous
Explain Sending KPI Prediction v1
Next
Explain Sending Text KPI Prediction v1
Built with