PUT /campaign/execution

Add a new Execution to an existing Campaign Template. The template id provided in the Web Service Body has to match the id of a Campaign Template associated with the user account identified by the security token.
Resource URL:

PUT http://slingshot.surgentnetworks.com/api/campaign/flat/template

Header Parameters:

Parameter Value Required?
X-Security-Token [your security token] Yes
Content-Type application/json or application/xml Yes

Example Content / JSON

{ 
   "activityState":"Created",
   "campaignState":"0",
   "channels":[ 
      "1"
   ],
   "executionEndTime":"2022-10-02T10:00:00-05:00",
   "executionName":"GeneratedExecution",
   "executionStartTime":"2002-10-02T10:00:00-05:00",
   "templateId":"e0898df7-7572-49ae-bd01-56cdbc9f12d1"
}

Expected Result:
Header:

HTTP/1.1 201 Created

Body:

None

Comments are closed.