...
Document Body should be passed as bytes in the POST content.
Example
Code Block | ||
---|---|---|
| ||
curl --location --request POST 'https://app.smartadvocate.com/WebServiceTest/SAWebService.svc/Retrieval/UploadDocument?filename=Test.pdf&RecordID=30964' \ --header 'X-ApiKey: def5abc985ad4597b41942b46fb4e65c' \ --header 'Content-Type: text/plain' \ --data-binary '@/C:/Users/jsmith/Desktop/test.docx' |