I have a custom connector which displays a list of filenames that the user selects. Everything looks fine on the UI side but when the time comes to do a POST request, the filename is not present in the request body. Only the Id is there. Instead of sending filename "Demo..." it sends the number 10.
Below are screenshots of the issue:
https://i.imgur.com/FAeM4gP.png
https://i.imgur.com/Tg1WzhC.png
The request body with the wrong value (should be the filename).
/api/Validations/{form_id}:
post:
summary: Validate Input
responses:
'200': {description: OK}
parameters:
- {$ref: '#/parameters/form_id__in_path'}
- required: true
name: query
in: body
schema:
type: object
x-ms-dynamic-values:
value-path: items
parameters:
file_id: {parameterReference: file_id}
siteurl: {parameterReference: siteurl}
operationId: GetAvailableSchemas
x-ms-dynamic-schema:
operationId: GetFormSchema
parameters:
form_id: {parameter: form_id}
value-path: items
properties: {}
x-ms-visibility: important
operationId: SubmitForm
description: To validate a incoming message against a selected schema
This is the yaml schema for the validation request.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.