Missing fields in response JSON by call to Hubspot API
By calling Hubspot API for get all contacts with URL : “https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=xxxxxxx&count=100&vidOffset=0”. Returns a response JSON with some the empty fields like ‘merge-vid’, ‘merge-audits’ , ‘form-submissions’.
What is the sample data for these fields ? I tried with diiferent apikeys but dint got data for these objects. It was not possible to create data through UI. Even response shown on Hubspot API docs does not have this data.
Can you help out with any sample response JSON which will have data for all the fields ?
Missing fields in response JSON by call to Hubspot API
The /recent/ endpoints return the companies in modified or created order, starting with the most recent. There isn’t a way to specify a time to search around, so you’d need to page backwards through the results using the offset parameter, and check the hs_lastmodifieddate property of the companies to see when they were last updated, or the createdate if you’re looking for recently created records.
Missing fields in response JSON by call to Hubspot API
For Engagements with reference to "http://developers.hubspot.com/docs/methods/engagements/create_engagement"
shows to create different types of meta-data. That is okay, but what will be data in [] attachments or []scheduledtask. These two fields are always empty in reponse JSON.
When are we supposed to get data in these fields. Can you help with any sample JSON for these fields. And data in these responses will be fixed or vary ?
Missing fields in response JSON by call to Hubspot API
There is issue raised on 17th Oct 2016, since then there is no answer or solution provided for the issue.
Can you please look into it on priority basis. We need to resolve it urgently.
Missing fields in response JSON by call to Hubspot API
Attachments will be a list of IDs from the COS Files API, pointing to specific files uploaded to HubSpot. If there are no attachments the list will be empty.
scheduledTasks will be a list (though usually this will be a list of 1 item) of internal tasks objects (they can only be created from inside of the HubSpot app). These would be used to send reminder emails to the assignee of the task.
Missing fields in response JSON by call to Hubspot API
On similar basis for:
Companies object ‘[]additional-domain’ field’s data is missing in response JSON. What is intended data for this field ?
2)Get all Engagements: there are varying fields for all records.
For eg : Some records may have []scheduled tasks while some have []attachments and some records have both these fileds.
And still data for []attachments, []scheduled-task and []associations is missing.
3)Contact list: []filters what is this field intended for ?
Missing fields in response JSON by call to Hubspot API
The example JSON you have would be typical, but again the merge items would only be populated for records that had been merged, and form submissions would only be included for contacts with form submissions. Also, it’s possible that contacts will not include all of those specific properties if the contact doesn’t have a value for that property (or for other properties to be included if you’re using the property= parameter in the request URL).
The additionalDomains field will be a list of domain names (as strings). In practice that list is going to be empty most of the time.
Engagements will have different metadata depending on the type of the engagement, and will only include attachments or tasks if the engagement is actually associated with those items . There are some examples of the data you’d see with the different types here:
POST /engagements/v1/engagements - Create an engagement via the HubSpot API.
List filters are the criteria used to determine which contacts join the list. For smart lists, contacts are evaluated against the list criteria when any change occurs. For statis lists, contacts are only evaluated when the list is created. There are additional details for the different filter types here:
merged-vids and merge-audits will only be populated for records that have been merged with another record. merged-vids is a list of the vids that have been merged (including the vid of the current record):