Add Notes to a record
Name Type Description
config Object Configuration Object.
Name Type Description
Entity String SysRefName of the module.
RecordID Long RecordID to associate the notes.
Title String Notes Title.
Content String Notes Content.
Returns:
Type Description
Promise Resolved with notes creation status
Sample Function
CopiedZOHO.RECRUIT.API.addNotes(
{
Entity:"Leads",
RecordID:"1475615000000292033",
Title:"Notes Title",
Content:"TitleContent"
})
.then(function(successResponse){
},
function(errorResponse){
}
);
Success Response
Copied{
"data": [
{
"code": "SUCCESS",
"details": {
"Modified_Time": "2017-12-20T14:08:56+05:30",
"Modified_By": {
"name": "NareshTesting",
"id": "1000000031157"
},
"Created_Time": "2017-12-20T14:08:56+05:30",
"id": "1000000044101",
"Created_By": {
"name": "NareshTesting",
"id": "1000000031157"
}
},
"message": "record added",
"status": "success"
}
]
}