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?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.