New topic Closed topic
avatar image
1
API variable names which include a dash
By Created , last editted

Hi Experts,

I am calling a HubSpot API (Get All Contacts) which is paginated i.e. it can only return a maximum of 100 contacts per call. The response indicates that there are more records via a field call "has-more" which is of type boolean:

When attempting to read this field in an action, the expression editor does not allow me to address it. I have attempted to implement the web service using a custom model and directly addressing the json using the [has-more] notation without success.

Here is the generated custom model:

Testing service provides response "correctly":

When creating a condition BB throws this error:

When attempting to log this variable in log, the logging is truncated.. 

Any help would be appreaciated!

Warren


******* Based on comment, I have added screenshot below to show solution ****


​ Additionally the condition needs to look like this:



Hi Experts,

I am calling a HubSpot API (Get All Contacts) which is paginated i.e. it can only return a maximum of 100 contacts per call. The response indicates that there are more records via a field call "has-more" which is of type boolean:

When attempting to read this field in an action, the expression editor does not allow me to address it. I have attempted to implement the web service using a custom model and directly addressing the json using the [has-more] notation without success.

Here is the generated custom model:

Testing service provides response "correctly":

When creating a condition BB throws this error:

When attempting to log this variable in log, the logging is truncated.. 

Any help would be appreaciated!

Warren


******* Based on comment, I have added screenshot below to show solution ****


​ Additionally the condition needs to look like this:


  • Avatar image
    Could you provide a screenshot of what you mean by "the logging is truncated" ?
    By
  • Login to reply
Answers
Sort by:

This topic is closed.