0
我試圖觸發在C#中使用SOAP在.NET上ExactTarget自動化exacttarget瓶坯自動化
它說VAR performResponse = soapClient.Perform(performRequest );
然而soapClient.Perform劑量不要一個單一的agument。
我有什麼到目前爲止,這是
Automation automation = new Automation();
PerformOptions options = new PerformOptions();
automation.CustomerKey = "53ba121d-2934-90d6-d86d-e0662c656165";
automation.ScheduledTime = DateTime.Now;
automation.ScheduledTimeSpecified = true;
automation.IsActive = true;
automation.AutomationSource = new AutomationSource()
{
AutomationSourceID = Guid.NewGuid().ToString(),
AutomationSourceType = "RestAPI"
};
automation.Notifications = new AutomationNotification[0];
// automation.ObjectID = "7d88eb5b-80ea-43bb-97b2-4067aaa19c35";
automation.PartnerProperties = new APIProperty[0] { };
// automation.PartnerKey = "53ba121d-2934-90d6-d86d-e0662c656165";
string sA;
string sB;
string sC;
PerformResult[] steve = soapClient.Perform(new PerformOptions(),
"start", new APIObject[] { automation }, out sA, out sB, out sC);
誰能給我一個手或告訴我一個簡單的例子
感謝。
thnak的Grzegorz Gajos我會給它一個去找回你(它一直在試圖支持我的頭,但還沒有得到任何地方)。 – Equnox
我嘗試過,但它的工作我。自動化已經創建。我想要做的就是將其設置爲啓動或安排啓動。如果你在Java中有任何的例子,它可能會有所幫助,因爲我迄今爲止沒有任何東西,並且它們擁有的文檔我只能假定已經過時。謝謝 – Equnox
我可以看到他們在自動化而不是CustomerKey上設置ObjectID,你試過這個嗎? 'automation.ObjectID = programID;' –