Attach file to unique serial no. entry via python api?

I’m trying to figure out how to attach a text file to a specific serial no. in the stock module via python code and not having a lot of luck figuring out the right api calls. Has anyone else tried this before, and if so, know what api calls are needed to create a new attachment?

1 Like

There is no direct method to attach a file as of now.

Check this

which goes here


@Kwerges2205 if you are able to write a nice wrapper method for this in, will be happy to accept a PR

Thanks rmehta,

I think we had a change of heart on where we are storing those files, but if this comes up again I’ll work on a wrapper.

1 Like