Rest Api - Create issue with file attachment

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Posts: 1
Joined: 05 Feb 2021, 10:45

Rest Api - Create issue with file attachment

Post by Brandher »

Hi there,

I am just developing a .Net application to generate tickets from eMails.
It will read eMails with Exchange EWS API and generate Tickets in Mantis.

It took me quite a few hours to find out, that the files.contect property in the json object which is needed to create an issue with attachment (like mentioned there: ... c11f7501f4 ) has to be base64 encoded.

It was not obvious for me and maybe it should be mentioned somewhere in the documentation to help other people, who have issues with that.

If somebody needs assistance, you can leave a reply here.
Thx for your attention.
Post Reply