Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

Syntax for Type array In the Schema Property area

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have a custom connector. I have imported a GET sample like: “https://api.mydomain.com/routing/v1/routes?waypoints=49.0133618,8.4277972&waypoints=48.8950289,8.6715602”. I get the parameter “waypoints” with Type “string”, but I need the Type “array”.

 

I changed the type of “waypoints” to “array”. When I try to test the connector, it does not work, because I do not know the syntax, how to enter a value for an array of waypoints as a parameter.

 

I checked your page https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank, but there is no explanation how to use the type “array”.

 

Can you please give me an example?

 

Thank you.

  • Re: Syntax for Type array In the Schema Property area

    Hello,

     

    After 20 days I’m still waiting for an answer.

  • Re: Syntax for Type array In the Schema Property area

    Thank you for your answer, but I cannot find anything on that page, which has something to do with my problem.

     

    Again: I need an example for the Syntax for Type array In the Schema Property area for e.g. for two waypoints to test the action.

     

    Here is what I´m doing:

    In the custom connector I create a new action “CalculateRoute”.

    Then I click on “Import from example” and with Verb GET and example https://api.mydomain.com/routing/v1/routes?waypoints=49.0133618,8.4277972&waypoints=48.8950289,8.6715602 I got the action and the parameters.

    In the Schema Property area I changed the Type “string” to “array” for the parameter “waypoints”.

    I test the action “CalculateRoute” and I type something like “{[49.0133618,8.4277972],[48.8950289,8.6715602]}” for waypoits:

    Dimitrios_0-1635863948398.png

     

     

    I try a lot of things, but I get two kinds of errors:

    1. Parameter is wrong
      Dimitrios_3-1635864455747.png

       


       

    2. The second parameter is missing, if I type: “49.0133618,8.4277972”
      Dimitrios_4-1635864559017.png

       


       

     

  • murshed Profile Picture
    murshed on at
    Re: Syntax for Type array In the Schema Property area

    Our github repo has multiple examples: https://github.com/microsoft/PowerPlatformConnectors

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics