...
- Partner application calls the EPR API to upload plan review documents in PDF format. Partner is responsible for document versioning (1st submittal, 2nd resubmittal, etc.). To upload a document, you will need to send files to our AWS S3 bucket. There are 3 calls you have to make:
- Get s3 presigned URL link to our AWS S3 bucket via the API:
- Method: GET
- URL: https://<epr_url>/resources/s3/uploadUrl?contentType=text%2Fxml&directory=attachments&filename=sample.xml
- PUT the file to this URL
- Method: PUT
- AWS S3 URL from step 1
- Finally, call project attachment api to finalized upload
- Method: POST
- URL: https://<epr_url>resources/projectAttachments
- Get s3 presigned URL link to our AWS S3 bucket via the API:
- Supporting attachments are also uploaded to EPR but are not inspected by Scout.
...