Mandatory fields are not found error while scheduling the mail campaign using api

Mandatory fields are not found error while scheduling the mail campaign using api

Hello,

I'm getting this below error while scheduling mail campaign using api..
my code below:

  1. string access_token = GenerateAccessTokenByRefreshToken();
  2. var RestClient = new RestClient("https://campaigns.zoho.com/api/sendcampaign?isschedule=true&authtoken="+ access_token + "&scope=ZohoCRM.modules.all,ZohoCampaigns.campaign.ALL,Aaaserver.profile.Read&resfmt=JSON&campaignkey=3f9b684d7df659d2fc04d6948be30cb435be57b81e35b5b4&scheduleDate=07/18/2019&scheduleHour=12&scheduleMinute=40&am_pm=PM&sendingTZ=Asia/Kolkata");
  3. var request = new RestRequest(Method.POST);
  4. request.AddHeader("Authorization","Zoho-oauthtoken "+ access_token);
  5. request.AddHeader("cache-control", "no-cache");
  6. IRestResponse response = RestClient.Execute(request);
  7. var ScheduleCamp = JsonConvert.DeserializeObject<ScheduleCamp>(response.Content);

response
  1. {"code":"903","campaign_status":"Draft","message":"Mandatory Fields are not found","uri":"/api/sendcampaign","version":"1"}