Hello, I am currently working on a custom search module. I am using the content search v2 api and make a call like
getSearchResults = function() {
var request = new XMLHttpRequest();
var requestUrl = "https://api.hubapi.com/contentsearch/v2/search?portalId=[PORTAL_ID]&term=" + encodeURIComponent(searchTerm)
+ "&limit=" + encodeURIComponent(TYPEAHEAD_LIMIT)
+ "&" + searchOptions();
In the documentation of the api I also se I can use “&tableId=”
But I get 0 results if I try to search by doing this.
/de/suche?term=&limit=6&language=de&type=SITE_PAGE&type=LANDING_PAGE&type=BLOG_POST&type=LISTING_PAGE&tableId=4661445
How does this exaclty work?