SetTemplateID() public method

Sets the used template ID of the assmebly (you can create multiple Transloadit templates under your account,please use its unique ID here)
public SetTemplateID ( string templateID ) : void
templateID string Template ID of the assmebly
return void
        public void NonExistingTemplate()
        {
            ITransloadit transloadit = new Transloadit.Transloadit("YOUR-PUBLIC-API-KEY", "YOUR-SECRET-KEY");
            IAssemblyBuilder assembly = new AssemblyBuilder();

            assembly.SetTemplateID("YOUR-NON-EXISTING-TEMPLATE-ID");

            TransloaditResponse response = transloadit.InvokeAssembly(assembly);

            Assert.AreEqual("TEMPLATE_NOT_FOUND", (string)(response.Data["error"]));
        }
        public void ExistingTemplate()
        {
            ITransloadit transloadit = new Transloadit.Transloadit("YOUR-PUBLIC-API-KEY", "YOUR-SECRET-KEY");
            IAssemblyBuilder assembly = new AssemblyBuilder();

            assembly.SetTemplateID("YOUR-EXISTING-TEMPLATE-ID");

            TransloaditResponse response = transloadit.InvokeAssembly(assembly);

            Assert.IsTrue((string)response.Data["ok"] == "ASSEMBLY_COMPLETED" || (string)response.Data["ok"] == "ASSEMBLY_EXECUTING");
        }