When the API service supports fields with different names of formats from Make, you need to implement a custom IML function that will assist as a conversion table. This conversion table has a list of API formats and their equivalents in Make. E. g., when the API returns a field of type single_line_text, in Make it will be evaluated as text. Also, you can use the additional parameters available, e. g. whether the parameter is mandatory or optional, what are available options in selects, etc.
An example of fields in API:
{"data": {"fields": [ {"id":"1","name":"Birthday","type":"anniversary","position":0,"mandatory":false,"reminder_days":0 }, {"id":"2","name":"CF Single Line Text","type":"single_line_text","position":1,"mandatory":false }, {"id":"3","name":"CF Multi Line Text","type":"multi_line_text","position":2,"mandatory":false }, {"id":"4","name":"CF Number","type":"number","position":3,"mandatory":false }, {"id":"5","name":"CF Dropdown","type":"select_box","position":4,"mandatory":false,"choices": ["a","b","c" ] }, {"id":"6","name":"CF Date","type":"date","position":5,"mandatory":false }, {"id":"7","name":"CF Checkbox","type":"multiple_choice","position":6,"mandatory":false,"choices": ["1","2","3" ] } ] }}