Patch API resume pdf upload



I am trying to update a resume through API. I keep on getting this error:
{
"errors":[
{
"errorMessage": "The Content provided as part of the request was invalid.",
"errorCode": 17
}
]
}

I am trying to push using RESTLET client with correct credentials, I tried .pdf file, .docx file , .doc file. I am confused as to what is required as content. How do I send {RAW BINARY CONTENT} as mentioned in the api docs.

Submitted by iCIMSUNIFIL on November 01, 2019 Permalink

Make sure your endpoint and Payload are constructed as follows:

PATCH Endpoint: https://api.icims.com/customers/{customerId}/{profileType}/{profileId}/fields/{fieldId}/binary

Payload: Content-Disposition: form-data; name="resume"; filename="candidate resume.docx"