Bonjour,
J’aurais besoin de votre aide, car je ne suis pas développeur.
Mon objectif est d’enregistrer un fichier (PDF, XLSX, DOCX, etc.) dans une GED en utilisant une API, appelée depuis Power Automate via l’action HTTP. Le fichier à enregistrer se trouve dans un espace SharePoint.
Voici ce que précise la documentation de l’API :
The service uses an HTML multi-part form. You must supply:
commandxml – the XML command string
uploadFile – the file contents
The data transfer must follow standard HTML file upload as provided through multi-part forms.
The URL of the service differs from other document web services because it is appended with the path upload.
Note: If Auto Rendition is enabled for the file type of the document being created, a PDF rendition of the document will be automatically created and attached to the new document.
Requests
Method - POST
URI - WKSP_URI/documents/upload/
Sample XML Request
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>Quelqu’un pourrait-il m’aider s’il vous plaît à renseigner correctement le connecteur “HTTP” de PowerAutomat ?
Merci d’avance pour votre aide !