Help

Type 'number or string' in API fields

Topic Labels: API
704 0
cancel
Showing results for 
Search instead for 
Did you mean: 
bcl_lab
4 - Data Explorer
4 - Data Explorer

Hi !

I created a rollup field I want to access via the API. Aggregation formula is AVERAGE(values)*1.20
values are integer.
Custom json decoder (written in Elm) fail at parsing this field. I checked the api documentation and field’s type is number or string. I expect it to be a number since it’s formatted as an integer and all input values are also integer.

What does it mean ? How to coerce the type to be only a number ? I tried to consume the aggregated value in another field formula but it inherits this number or string type.

Thanks for your help!

0 Replies 0