Has anyone worked on the RASMAS interface to upload a file? If so, how did you get it to upload the file? I have gotten all of the GET method URLs to work. The upload uses the PUT method.
I have not worked with RASMAS, but I am familiar with IPA and lots of technology. Is the "GET" and "PUT" a standard SFTP connection or some other method? Do you have any RASMAS developer documentation you can share?
I am not familiar with RASMAS interface at all.But GET/PUT are http methods; which means web interface that takes a file upload.Since the WebRun node does not support multipart-formdata I suspect you won't be able to upload from a webrun node. You would need full documentation on the interface; but as suggested by Richard if they have an SFTP server that handles the upload that would be easier to address.
I finally got something from their development.
They do not support SFTP because it is manual on their side, but they do support emailing files which sounds very manual.
I forgot to add that the value of fileData is encrypted base 64, and that is something I have been able to do. The ColumnNums are list of the columns with those values. They could be null, one column, or a list of columns with the first column as 0.
So the upload of the file is actually sending the contents of the file by including various field name/values in the JSON object so RASMAS will know what to do.
I have a process that uses JSON. We had to include information in the header:
Content-Type: application/jsonAccept: application/json
Beyond that, you just need a valid JSON object, then do a "PUT" request, but I could be over simplifying.
The JSON template that the development provided is informative, though it would be helpful to see what the ColumnNums information needs to look like.