You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Open API type of sorts parameter for PublicObjectSearchRequest should be mapped to a class #236
The sorts parameter of the PublicObjectSearchRequest class (all CRM objects) is mapped to the Open API type list[str]. However, the HubSpot API accepts sorts as an array of objects:
This bit me too, thank you for the solving approach which works!
I wasted time on this trying to pass in a list of serialized JSON strings, e.g.: sort = json.dumps({"propertyName": "lastmodifieddate", "direction": "ASCENDING"}), and then using a list of those...
Wanted to open an issue too, but found yours then.
Additionally it seems that contacts (and it seems only contacts), have the differing propertyName lastmodifieddate instead of hs_lastmodifieddate which other classes have...
Activity
protos-gunzinger commentedon Sep 14, 2023
This bit me too, thank you for the solving approach which works!
I wasted time on this trying to pass in a list of serialized JSON strings, e.g.:
sort = json.dumps({"propertyName": "lastmodifieddate", "direction": "ASCENDING"}), and then using a list of those...Wanted to open an issue too, but found yours then.
Additionally it seems that contacts (and it seems only contacts), have the differing propertyName
lastmodifieddateinstead ofhs_lastmodifieddatewhich other classes have...