Does anyone know a way to attach a resume to a candidate (CandidateDocument business class) using IPA in the cloud?
I have tried every permutation of data representation and none of them attach the resume correctly.
I tried specifying the path to the file (i.e. /tmp/resume.docx), but it just attached a text document with the contents “/tmp/resume.docx”
I tried reading the binary contents of the file into a string and using that string as the value for the file parameter, but the LMK call failed because of bad data in the call.
I tried to convert the binary contents of the file into a base64 encoded string and using that string as the value for the file parameter, but it just attached a text document with the base64 string.
I tried to convert the binary contents of the file into a URL encoded string and using that string as the value for the file parameter, but it just attached a text document with the URL encoded string.
In on-prem I know that this works:
I tried specifying the path to the file using the file protocol (i.e. file:///tmp/resume.docx), but it throws NullPointerError, probably because we don’t have access to the real file system in cloudsuite.
I found one ION API web service that will attach the resume, but I can’t get IPA to successfully make an ION API call.