Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Header

All request must contains "X-ApiKey" header with ClientKey in thereClientKey example: "0d4852a98cbf4c8csb0cdee1b6f31e95f"

Info

Note that you will need to get a client key specific for your company (and for specific SmartAdvocate client) once you start developing an integration

URL:  https://[SA_SERVER]/sasvc/SAWebService.svc/receiver/UploadDocument?filename={filename}&CaseID={CaseID}&SACaseNumber={SACaseNumber}&SADocumentSubcategoryTypeID={SADocumentSubcategoryTypeID}&Category={Category}&Subcategory={Subcategory}

Parameters

...

Filename: name of the file being uploaded.

...

Document Body should be passed as bytes in the POST content.

Example

Code Block
languagephp
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'