getnotesbyleadID
1. Does the current functionality of the getnotesbyleadID function return the notes oldest to newest?
2. If it does give it to us in that order is there any way that this can be changed to newest note first?
3. Can you provide documentation of the getnotesbyleadID method and/or potentially applicable methode that could be used in lieu of getnotesbyleadID to return notes in descending order (Newest note first).





I will try to answer your questions the best I can... Here goes:
Question 1 -
There currently is no particular order that the
notes are returned in.
Question 2 -
You can request this change by submitting an enhancement
request to our support team or you can post it in our
"New ideas" section.
Question 3 -
The getNotesByLeadId function accepts 3 parameters:
lead_id = the id of the lead to get notes from
start = the starting record of the defined range
of records. (Similar to LIMIT in MySQL)
number = the number of records to return
(Similar to LIMIT in MySQL)
There is no other method available to get the notes the way you are talking about. Hope this answers your questions.