My comapny is trying to search on contacts based on a custom property status field called smb_prostpect_status. We are using python to majke the API call out but it is not returning all the contact data for that hour into a csv file. For example: Using Postman, I make a direct call to the contact search API
https://api.hubapi.com/crm/v3/objects/contacts/search
I will get a otal count of 118 records.
However when I run the python code, I only get 107 records. Thus 11 records are missing in the csv file. Here is the Post Method Body for the search:
{
"limit":100,
"after": "9900",
"properties": [ "id",
"firstname",
"lastname",
"smb_prospect_status",
"jobtitle",
"email",
"business_name",
"srvc_address_1",
"srvc_address_1a",
"srvc_address_2",
"srvc_city",
"srvc_state_1",
"srvc_zip_1",
"smb_prospect_status",
"smb_prospect_status_reason"],
"filterGroups": [
{
"filters": [
{
"value":"Awaiting Scrub","propertyName":"smb_prospect_status","operator":"EQ"
}
]
}
],
"sorts": [
{
"propertyName": "hs_lastmodifieddate",
"direction": "DESCENDING"
}
]
}
Thanks for any assitance.