Adding a deal note through API

Hello,

I do realize that this might be a duplicate request at some level but I’ve been searching for a solution for a while now.

So I’m trying to add a note associated with a deal through the Enggagements API, using the v3 API. When using the API docs and the Test call, everything works as expected, the note lands where it should, but when I call the API, with the same JSON payload (copied from the docs test call actually) it comes back with success but `Properties:{CreateDate:0001-01-01 00:00:00 +0000 UTC…`
I’ve added below all the data that I’m sending over…


No note added…


RapidAPI call

@RobertB - I remember having some difficulty getting this right, and for me this revolved around needing to get the datestamp is teh correct ISO formatted string (the call does not seem to accept a mS formatted time value).

So my properties (for a Company association) were roughly:

 note_data = {
 'properties' : {
 'hs_note_body' : note_text,
 'hs_timestamp' : hs_time,
 'hubspot_owner_id' : owner_id
 },
 'associations' : [ {
 'types' : [{'associationCategory':'HUBSPOT_DEFINED', 'associationTypeId': 190 }],
 'to' : {'id': companyID } 
 } ]
 }

Hope this helps.

Steve