For more information on using API

PUT http://webapi.mymarketing.co.il/api/campaigns/{id}/scheduling

Update campaign schdule by id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id

integer

Required

Body Parameters

ApiCampaignScheduling

Name

Description

Type

Additional information

is_sent

If the campaign was sent or not

boolean
scheduled_date_utc

The date the campaign will be sent

date
is_limit_to_confirmed

If the campaign is limited only to confirmed email addresses

boolean

Request Formats

application/json, text/json

Sample:
{
  "is_sent": true,
  "scheduled_date_utc": "2016-12-24T14:12:12",
  "is_limit_to_confirmed": true
}

application/xml, text/xml

Sample:
<ApiCampaignScheduling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <is_limit_to_confirmed>true</is_limit_to_confirmed>
  <is_sent>true</is_sent>
  <scheduled_date_utc>2016-12-24T14:12:12</scheduled_date_utc>
</ApiCampaignScheduling>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.