0

I'm scheduling created email send definition from user-initiated folder with the node js Fuel-SOAP API library, this gone to My Tracking directory Is it possible to assign the tracking destination custom folder through the API? Thanks in advance!

1 Answer 1

0

If you mouse over your custom folder you should see a numeric folder id in the link. In your soap request, use that ID in EmailSendDefinition.CategoryID property

Updated with example

var folderID = 12345;
            var sendESD = new ET_EmailSendDefinition
            {
                AuthStub = myclient,
                CustomerKey = newSendDefinitionName,
                CategoryID = folderID
            };
            var sendESDResponse = sendESD.Send();
            Console.WriteLine("Send Status: " + sendESDResponse.Status.ToString());
            Console.WriteLine("Message: " + sendESDResponse.Message);
            Console.WriteLine("Code: " + sendESDResponse.Code.ToString());
            Console.WriteLine("Results Length: " + sendESDResponse.Results.Length);
3
  • I have tried your way but i have no luck. Can you please explain it with brief, or suggest me another solution, because I am stuck on this. Dec 4, 2017 at 7:45
  • @KrishanKantSharma see updated example. you need to get the folderID from SFMC UI
    – Bo Hu
    Dec 5, 2017 at 1:33
  • No luck . I should have made my request more clear. If you are in the Marketing Cloud UI, I'm looking for how to assign the folder under Tracking -> Sends. Same thread is here : link Dec 5, 2017 at 8:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.