Schedule

Overview

The Schedule endpoint allows you to create a new schedule, to request information about an existing schedule, or to stop / start a schedule.

For more details on how to set up a Schedule API request, please see the Schedule API Technical Guide.

GET Methods

The Schedule endpoint supports the following GET operation. This endpoint allows you to retrieve the schedule details by providing the Schedule ID. Please note that the platform doesn't provide a mechanism to look up the Schedule ID; please contact your Client Services Representative if you need help finding the value of a Schedule ID.

Click hereClick here to see a sample response message in JSON format.

{

  "scheduleId": 18550,

  "endTime": "2017-01-15T00:00:00",

  "timeZone": "SE_Asia_Standard_Time",

  "dayFrequency": {

    "frequencyType": "Weekly",

    "weeklyInterval": "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday"

  },

  "timeFrequency": {

    "timeIntervalType": "MutipleTimesADay",

    "multipleTimesInterval": {

      "runInterval": 8,

      "excludeTimeBefore": "2017-01-01T00:00:01",

      "excludeTimeAfter": "2017-01-01T23:59:59"

    }

  }

}

 

 

POST Method

The Schedule endpoint supports the following POST operations.

Create a New Schedule

This endpoint allows you to define the details of a new schedule. The new schedule must include the following rules:

Click hereClick here to see a sample request message in JSON format.

{

  "StartTime": "2017-01-01T00:00:01",

  "EndTime": "2017-02-02T00:00:01",

  "timeZone": "Eastern_Standard_Time",

  "dayFrequency": {

    "frequencyType": "Daily",

    "daysInterval": 1

  },

  "timeFrequency": {

    "timeIntervalType": "MutipleTimesADay",

    "multipleTimesInterval": {

      "excludeTimeBefore": "2017-01-01T00:00:01",

      "excludeTimeAfter": "2017-01-01T23:59:59"

    }

  }

}

 

Click hereClick here to see a sample response message in JSON format.

{

  "scheduleId": 48219,

  "startTime": "2017-01-01T00:00:01",

  "endTime": "2017-02-02T00:00:01",

  "timeZone": "Eastern_Standard_Time",

  "dayFrequency": {

    "frequencyType": "Daily",

    "daysInterval": 1

  },

  "timeFrequency": {

    "timeIntervalType": "MutipleTimesADay",

    "multipleTimesInterval": {

      "excludeTimeBefore": "2017-01-01T00:00:01",

      "excludeTimeAfter": "2017-01-01T23:59:59"

    }

  }

}

 

Pause / Resume a Schedule

This endpoint allows you to start or stop a schedule by providing the Schedule ID.

 

Back to API Category - Campaign Management