How do I format the file upload payload when uploading documents?
The following is a curl example for uploadTradeDocument with the client ID, developer key, and trade ID redacted:
The following is a curl example for uploadTradeDocument with the client ID, developer key, and trade ID:
curl --request POST "https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/uploadTradeDocument"
-F clientID=[ ]
-F developerAPIKey=[ ]
-F tradeId=[ ]
-F documentTitle=documentTitle0=testdocument
-F file_name=filename0=test.pdf -F createdIpAddress=10.0.0.59
-F userfile0=@/Users/johnsmith/Downloads/Example.pdf