@v-alzhan-msft Here is some more info on the connector:
I created this specific piece of the connector using the "import from sample" option (the rest was created from importing a Postman collection.) I pasted in the BODY of the HTTP request that I posted above, and configured the URL and PARAMETERS as necessary. I think I'm at least half way there, but I feel like I'm missing something with the body. Here is what it looks like so far:
"The Connector"
The Connector
"The Connector BODY"
Contents of the "BODY"
What it looks like in a LOGIC APP
What it looks like in a logic APP.
And finally, here is the relevant Swagger piece:
/Web/api/QMS/UserCertificates/UploadFile:
post:
summary: UploadFile
description: 'Attach a file to an existing QMS User Certificates. Valid file
types: PDF, Image (.jpg, .png) If the UserCertificateID != -1 then this UserCertificateID
will be used to find the existing UserCertificate Otherwise the UserCertificateGUID
will be used to find the existing UserCertificate'
operationId: UploadFile
parameters:
- {name: UserCertificateID, in: query, required: true, type: string}
- {name: AccountLoginName, in: header, required: true, type: string}
- {name: AccountPassword, in: header, required: true, type: string}
- {name: SourceSystemID, in: header, required: true, type: string, default: 'PALCC'}
- {name: DomainID, in: header, required: true, type: string, default: 'PALCC'}
- name: body
in: body
required: true
schema:
type: object
properties:
$content-type: {type: string, description: $content-type, title: '', default: '"multipart/form-data",'}
$multipart:
type: array
items:
type: object
properties:
body: {type: string, description: body}
headers:
type: object
properties:
Content-Disposition: {type: string, description: Content-Disposition,
title: '', default: '"form-data; name=\"file\"; filename="'}
description: headers
description: $multipart
x-ms-visibility: important
x-ms-visibility: important
responses:
default:
description: default
schema: {}
x-ms-visibility: important