cancel
Showing results for 
Search instead for 
Did you mean: 
My Areas

Sign in or create account

to get a personalized navigation.

alejonejo
CONTRIBUTOR *

Error creating a journal transaction attachment using the API

by alejonejo (Updated ‎30-07-2020 21:35 by alejonejo )

Hi! I am trying to create an attachment 

000027 exists 

I am receiving an error without message. Should I send any other field?

Thanks

 

1.png

1 REPLY 1
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi,

 

When it comes to attachments, it doesn't work posting them through swagger.

We would recommend that you try to do this via postman/fiddler as you have to attach a file as well.

 

Please be aware that the "Content-type" header should be set to "multipart/form-data" and the body should be form-data with a file attached as in the pictures:

2020-07-31 06_24_27-Postman.png

2020-07-31 06_25_57-Postman.png

 

Please let us know if it still doesn't work for you.