Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Adding a Schedule
Adding a Schedule
Adding a Schedule
The  addSchedule  operation schedules  a delivery time for an existing Marketing Email.

...

after: Number  of minutes until delivery should occur.

 

Code Block
languagexml
titleSample Request for addSchedule
{
  "apiUrl":"https://api.sendgrid.com/api/newsletter",
  "apiUser":"UserName",
  "apiKey":"PassWord",
  "name":"test"
}

Anchor
Retrieves a schedule.
Retrieves a schedule.
Retrieves a schedule.
The  getSchedule  operation retrieves  the scheduled delivery time for an existing Marketing Email.

...

name: Required - Retrieve the delivery time scheduled for this Marketing  Email.

 

Code Block
languagexml
titleSample Request for getSchedule
{
  "apiUrl":"https://api.sendgrid.com/api/newsletter",
  "apiUser":"UserName",
  "apiKey":"PassWord",
  "name":"test"
}

Anchor
Delete a schedule
Delete a schedule
Delete a schedule

The  deleteSchedule  operation cancels  a scheduled send for a Marketing Email.

...

name: required - Remove the scheduled delivery time from an existing Marketing Email.

 

Code Block
languagexml
titleSample Request for deleteSchedule
{
  "apiUrl":"https://api.sendgrid.com/api/newsletter",
  "apiUser":"UserName",
  "apiKey":"PassWord",
  "name":"test"
}

Sample configuration

Following is a sample proxy service that illustrates how to connect to SendGrid with the init operation and use the getSchedule operation. You can use this sample as a template for using other operations in this category.

...