Hi,
I'm struggling to find information on how to add query parameters to my GET action I have created on my custom connector. I have tried:
1.
2.
The request I want to add a query parameter to:
So I am wondering what steps am I missing to get this working. If creating a policy is the correct solution, how to do I specify within my app what my parameter value is? Any help would be greatly appreciated.
Thanks
Solved! Go to Solution.
Hi! @Anonymous
try something like this
parameters:
- name: ids
in: query
required: false
type: array
items:
type: string
format: uuid
collectionFormat: multi
- name: pageNumber
in: query
required: false
type: integer
format: int32
params are ids and pageNumber
Hi! @Anonymous
The url params should be declared in the custom connector swagger definition.
Can you show how you created the connector?
Hey @ilton ,
Yes I created the custom connector through an on-premise gateway. I then added an 'GetAllRisks' action which works as expected for getting all values (tested).
Now I want to add an optional LanguageFilter parameter to my request.
Do I have to do this through the swagger editor?
Hi! @Anonymous
try something like this
parameters:
- name: ids
in: query
required: false
type: array
items:
type: string
format: uuid
collectionFormat: multi
- name: pageNumber
in: query
required: false
type: integer
format: int32
params are ids and pageNumber
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
199 | |
71 | |
50 | |
43 | |
30 |
User | Count |
---|---|
258 | |
126 | |
87 | |
85 | |
82 |