cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Dynamic Properties for both input and output does not populate outputs as expected

Hello friendly team!

 

We have developed a connector that has its inputs defined via an x-ms-dynamic-schema.

 

The inputs are defined here: https://github.com/microsoft/PowerPlatformConnectors/blob/dev/certified-connectors/WooCommerce/apiDe...

 

The outputs are then specified here: https://github.com/microsoft/PowerPlatformConnectors/blob/dev/certified-connectors/WooCommerce/apiDe...

 

This is a trimmed sample of the request, with both input and output included:

 

{

    "schema": {

        "type": "object",

        "properties": {

            "id": {

                "x-ms-summary": "Resource id",

                "type": "integer",

                "description": "Unique identifier for the resource."

            },

            "parent_id": {

                "x-ms-summary": "Parent id",

                "type": "integer",

                "description": "Parent order ID."

            },

            "number": {

                "x-ms-summary": "Number",

                "type": "string",

                "description": "Order number."

            },

            ...

         }

  },

  "post": {
 "type": "object",
        "properties": {

            "parent_id": {

                "x-ms-summary": "Parent id",

                "type": "integer",

                "description": "Parent order ID."

            },

            "status": {

                "x-ms-summary": "Status",

                "type": "string",

                "description": "Order status.",

                "enum": [

                    "auto-draft",

                    "pending",

                    "processing",

                    "on-hold",

                    "completed",

                    "cancelled",

                    "refunded",

                    "failed"

                ],

                "default": "pending"

            },

           ...

      }

  }

}

 

 

We are observing the "id" field is not being returned in outputs and that the outputs more closely resemble the inputs.

However, the items do not exactly match so it's really not clear how this is happening.

 

Is it possible to use x-ms-dynamic-properties for both input and outputs as we have done?

0 REPLIES 0

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Kudoed Authors
Users online (1,313)