Create and Update Quiet Period

Create Quiet Period

Usage: POST /data/campaign/campaign_id/{campaign id}/quietPeriod/

Example: /data/campaign/campaign_id/120/quietPeriod

{
"day":"8",
"startH":"1",
"startM":"0",
"endH":"2",
"endM":"0"
}

Returns the new Quiet Period object

Example JSON Response Data

{
"endH":2,
"quietLevel":"CAMPAIGN",
"startM":0,
"id":240,
"startH":1,
"day":8,
"endM":0,
"status":0
}

Update Quiet Period By ID

Usage: /data/campaign/campaign_id/{campaign_id}/quietPeriod/id/{quiet period id}

Example: /data/campaign/campaign_id/120/quietPeriod/id/240

{
"day":"8",
"startH":"1",
"startM":"0",
"endH":"3",
"endM":"0"
}

Saves the Quiet Period object to the database and returns the updated object

Example JSON Response Data

{
"endH":3,
"quietLevel":"CAMPAIGN",
"startM":0,
"id":240,
"startH":1,
"day":8,
"endM":0,
"status":0
}