My Products
Help
Florian Haase
PARTNER

Changing / delete of attachments

by Florian Haase

Hi

 

We need to change / remove the content of attachments and I wonder how to do this?

 

Case: We are creating PDF printouts on supplierinvoices programatically before the invoices are released. If something failes and the invoices needs to be updated we need to update the printout also. So far I can't see any possibility to update the attachment. The plan was to delete it and generate a new one but update the pdf would be good enough. How can we solve this?

 

Regards,

 

Florian

 

 

3 REPLIES 3
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi,

If the filename is still the same, calling the same endpoint again will create a new revision of the attachment:

2020-10-06 08_29_11-Visma.net Integrations Documentation.png

When you then get the attachment, the latest revision is retrieved:

2020-10-06 08_33_00-Visma.net Integrations Documentation.png

Florian Haase
PARTNER

OK, we try this. Thank you. 

 

Florian

Florian Haase
PARTNER

I can confirm that this works. 

Florian