I want to use the REST api to attach a file to the native_file property of an object, for example a CAD Document.
I can PATCH regular properties in and it takes it, but wont assign the native_file.
take a PATCH to /CAD('<id>')
{
I want to use the REST api to attach a file to the native_file property of an object, for example a CAD Document.
I can PATCH regular properties in and it takes it, but wont assign the native_file.
take a PATCH to /CAD('<id>')
{
Hi Eric,
I think we already hat a similar discussion in the forum, but I right now cannot find it. Where you able to find a solution already?
No, nothing using the REST api to do this. It can be done with a custom method, but I prefer not to use that if it can be done via the stock apis.
No, nothing using the REST api to do this. It can be done with a custom method, but I prefer not to use that if it can be done via the stock apis.
I tried this old sample of mine and it worked fine:

If it works for you, please tell me which parts of the body are actually needed .
The tag "native_file" works, but "[email protected]" does not. I was using the latter because that's exactly what the results from GET looked like.
Thanks.
Copyright © 2025 Aras. All rights reserved.