Stéphane Burwash
04/16/2022, 6:17 PMaaronsteers
04/16/2022, 8:38 PMaaronsteers
04/16/2022, 8:39 PM...my 5th this week, I'm going for a record...Nice 😅 🎖️ 🎉
Stéphane Burwash
04/16/2022, 9:07 PMaaronsteers
04/16/2022, 9:10 PMaaronsteers
04/16/2022, 9:11 PMStéphane Burwash
04/16/2022, 9:16 PMaaronsteers
04/16/2022, 10:46 PMlist
API seems to send all args through url params.aaronsteers
04/16/2022, 10:49 PMbulk
API (a POST
) allows mix-and-match of params in the URL and also in the request body (--data
in the below).aaronsteers
04/16/2022, 10:49 PMlist
API (/crm/v3/objects/deals
) instead of passing them in the url, or (b) using the batch API if it can meet the needed use cases.
Some testing with postman
(or curl
or thunder client) may be helpful in determining if the API can support (a) or not.aaronsteers
04/16/2022, 10:50 PMaaronsteers
04/16/2022, 10:51 PMaaronsteers
04/16/2022, 11:02 PMsearch
API is recommended here, for the same reasons as above. The bulk
/ POST
versions of the API appear to support passing params in the body, whereas it appears the basic endpoints do not support any way of bypassing the 414 issue ("URI too long for the server to process").aaronsteers
04/16/2022, 11:05 PMStéphane Burwash
04/16/2022, 11:51 PMStéphane Burwash
04/17/2022, 4:15 PMStéphane Burwash
04/17/2022, 5:06 PMaaronsteers
04/19/2022, 4:07 AMStéphane Burwash
04/19/2022, 2:30 PMpablo_seibelt
04/19/2022, 3:56 PMStéphane Burwash
04/19/2022, 5:08 PMaaronsteers
04/19/2022, 5:26 PMAre taps always this much of a pain in my ass?Only when APIs are poorly designed, IMHO 😭
aaronsteers
04/19/2022, 5:28 PMaaronsteers
04/19/2022, 5:30 PMaaronsteers
04/19/2022, 5:35 PMaaronsteers
04/19/2022, 5:38 PMhs_lastmodifieddate
might be able to drive the time constraint and perhaps also the sorting. (You'd need to confirm that this is also inclusive of createdate
and that newly created items don't have a null modified date.)Stéphane Burwash
04/19/2022, 5:49 PMaaronsteers
04/19/2022, 5:52 PMstart_date
value if no bookmark exists, and then you can mark your stream as sorted=True and potentially benefit from resume-on-interrupt.aaronsteers
04/19/2022, 5:55 PMStéphane Burwash
04/19/2022, 6:12 PMStéphane Burwash
04/19/2022, 6:14 PMStéphane Burwash
04/22/2022, 3:45 PM