javascript-api
javascript-api copied to clipboard
Add Note is not working
Hello
Please see the code _agile.create_contact({ "email": "[email protected]", "first_name": "Test", "last_name": "New", "tags":"tag1" }, { success: function add_note() {
console.log("Done");
_agile.add_note({
"subject": "How to test",
"description": "Running"
}, { success: function(data){
console.log(data);
console.log("contact created");
}, error: function(err){
console.log("data1");
console.log(err);
}
});
}, error: function(data){
}
});
this is not working, Please help me in that.
Thanks
Hi,
You can try below code link code.
https://gist.github.com/graut/6ec022cd8161195101ff
Note : To add note to contact you need to set email. I have set email after contact created but you can set at the top also.
how can we update existing note ?