There is no support to upload documents directly to cabinets. This has come up before but not accepted because it reinforces the file manager paradigm which is an anti-pattern in Mayan.
Do you have custom code to implement this?
If so, then it could be that your custom code needs to be updated to understand the changes in the API response when using immediate mode.
I have 50K documents to upload to different cabinets.
So i guess i will have to make some custom code to move them around once the upload is done because from my understanding the ?cabinet is working now but could disappear any time soon.
50K upload requests, followed by 50K move requests. Nice.
I though about using the batch request API to have only one call for upload+move into cabinet.
I put it here as a clue for people facing the same issue.
I was wondering the same but @roberto.rosario makes it clear there is no such function
There is no support to upload documents directly to cabinets. This has come up before but not accepted because it reinforces the file manager paradigm which is an anti-pattern in Mayan.
If there is no such ?cabinet function, how did you make it work the first time?