campaign.schedule
The campaign.schedule command is used to start a campaign at a specific date and time.
TR50 Request
{
"cmd": {
"command": "campaign.schedule",
"params": {
"id": "537a3fa6d15a702de0000007",
"scheduledFor": "2021-02-25T01:00:00.000Z"
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
id |
String |
Yes |
The unique identifier of the campaign to schedule. |
scheduleFor |
String |
Yes |
The future date when the campaign should start. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true
}
}