Skip to main content

Hi guys,
Any ideas, maybe one of us has had a similar problem to mine.
I want to obtain the PDF file that I have uploaded on the Invoices and Notes screen "AR301000" by consulting through postman, the acumatic version is 2019R2

1.- I was able to insert using postman, here is the result.

 

The postman's query and response failed.

I hope I have been clear, maybe my English is not correct.

Could you tell me what I'm doing wrong, I would appreciate it, thank you very much.

Have you visited the help?


From here it looks correct. Can you uncheck $expand and confirm that your $filter parameter is working properly?

You’ll also want to include the Type field in your filter because you could have multiple document types with that document number.

 


The current version is 2019R2, which is where I cannot perform the query, this example replicates the 2022R1 version if it works without any problem, same use process.

 

look here is the test without using expand only filter.

response when I add expand=files.

 


@SaulGomez61 

Couple of suggestions I would have on this one.

  1. try to use get items via ID/Key field and expand Files to get file id to be retrieved
    ref: Retrieve a Record by ID
  2. Once you have the file id, make a GET request on Files entity
    ref: Retrieve a File Attached to a Record

Here’s an example:

Document with file
Get file id
Retrieve file

Hopefully it helps


@SaulGomez61

Thank you very much, it has helped me with the answer you gave me.

 

example and result, even if it is strange but the important thing is that you were able to obtain the attached file.

example 1:

 

Example 2:

without having to expand it works fine. I don't know if it's correct.

 


Reply