Hello @De Raeve, Wouter , my sincere apologies for the delay. I got a response back from the team that the Array and Multi-Value query parameters feature is not supported. The work around suggested is to use an array parameter in the body instead, you can find the more information regarding the implementation here, you can also refer to this Open Api definition used.
Please let me know if there are any additional concerns, I will be glad to continue with our discussion. Thank you!
Logic Apps Custom Connector with array query parameter - does it work?
De Raeve, Wouter
1
Reputation point
Hi,
I have created a logic app that connects to an API that uses a 'multi' collectionFormat in its query parameter...
See describing-parameters for more info...
I have defined this in my custom connector as follows:
- name: subcalendarId[]
type: array
items:
type: integer
in: query
required: false
collectionFormat: multi
This works perfectly fine using a single subCalenderId, but as soon as I give it an array as input:
InvalidTemplate. Unable to process template language expressions in action 'Get_Events_Collection_or_Changes' inputs at line '1' and column '2897': 'Error reading string. Unexpected token: StartArray. Path 'queries['subcalendarId[]']'.'.
Anybody with any ideas?
1 answer
Sort by: Most helpful
-
ChaitanyaNaykodi-MSFT 26,551 Reputation points Microsoft Employee
2021-02-12T18:21:48.547+00:00