Add file in system

DESCRIPTION

The ajouterFichierDansSysteme service allows you to add an attachement to the user account and to get its technical identifier. The attachement must not exceed 10Mo. If the file exceeds this size, an 20003 error will be reported.

ENVIRONMENTS

Production url https://chorus-pro.gouv.fr:5443/service/transverses/ajouter/fichier
Qualification url https://chorus-pro.gouv.fr:5443/service-qualif/transverses/ajouter/fichier

SETTINGS

Header parameters

Technical account Varchar Required
Password Varchar Required
Certificate Varchar Required
Content-Type Varchar Required

Full description of API inpout and output parameters

Consult the API appendices API

{
"idUtilisateurCourant" : 517019, 
"pieceJointeFichier" : "Fichier encodé en base 64",
"pieceJointeNom" : "keerk2",
"pieceJointeTypeMime" : "application/pdf",
"pieceJointeExtension" : "pdf"
}
{
   "codeRetour": 0,
   "libelle": "CODE PAR DEFAUT",
   "pieceJointeId": 28205
}
Print Friendly, PDF & Email
Back To Top