Note APIs
civicrm_note_create( &$params )
Availability: v1.8
Creates a note for a contact
Parameters:
- 'params' (array) Associative array of property name/value pairs
- for updating note record pass note id in array like $params['id']
Returns:
- On success, returns array containing note_id
- On failure, returns array containing error_message
civicrm_note_get( &$params )
Availability: v1.8
get the note(s) for an entity
Parameters:
- 'params' (array) Associative array of property name/value pairs
Returns:
- On success, returns array containing notes for the entity. Hard-coded to show only the note body text - no additional fields.
- On failure, returns array containing error_message
civicrm_note_delete( &$params )
Availability: v1.8
Deletes the specified Note.
Parameters:
- 'params' (array) A valid (name/value pair) .
Returns:
- true if success, else false
- An error if 'contact' is invalid, permissions are insufficient, etc.