Re: 20130 Invalid Datetime on Schedule Campaign API

Bruno_Melancon
Level 1

20130 Invalid Datetime on Schedule Campaign API

I wanted to know if anyone got an error and a fix using the 2.0 API function ScheduleCampaign. 

Everything seems to working fine when using SOAPUI and sending the campainRunAt value (2013-01-29T21:48:30Z), but I cannot send the info when using ASP.NET code.

schCampaign.campaignRunAt = DateTime.UtcNow or 
schCampaign.campaignRunAt = DateTime.Now

Both return 2130 - Invalid Date-time

Bruno
Tags (1)
1 REPLY 1
Jep_Castelein2
Level 10

Re: 20130 Invalid Datetime on Schedule Campaign API

I'm not a developer, but this article may be useful: http://integratingthecloud.com/what-marketo-api-time-is-it/

Best, 
Jep