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. Commented Dec 4, 2017 at 7:45
  • @KrishanKantSharma see updated example. you need to get the folderID from SFMC UI
    – Bo Hu
    Commented 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 Commented Dec 5, 2017 at 8:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .