Saving a pdf to a document from the java backend

Question on behalf of @jeanpierre-golden-knoll:

Hi, I’m trying to save a pdf to a document from the java backend. From my understanding I need to upload the file to the attachement server.
• were is it by default ?
• how do i configure it ?
• does it return the id ? I’m assuming that’s what I need to save on the file.

I checked here, is there any other information on the topic ? GetA12 Login

hi :slight_smile:

• were is it by default ?
• how do i configure it ?

Please see configuration properties in getA12:
https://geta12.com/docs/?release=2022.06#content:asciidoc,product:data_services,artifact:dataservices-documentation-src,scene:Data_Services,anchor:attachment-properties

• does it return the id ?

For attachment rest api see details here:
https://geta12.com/docs/?release=2022.06#content:asciidoc,product:data_services,artifact:dataservices-documentation-src,scene:Data_Services,anchor:rest_attachments_rest_api