Versions Compared

Key

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

...

  1. Partner application calls the EPR API to upload plan review documents in PDF format. To upload a documentstep-by-step guide
  2. To upload project attachments instead of plan documents, you will need to send files to our AWS S3 bucket. There are 3 calls you have to make:
    1. Get s3 presigned URL link to our AWS S3 bucket via the API:
      1. Method: GET
      2. URL: https://<epr_url>/resources/s3/uploadUrl?contentType=text%2Fxml&directory=attachments&filename=sample.xml

    2. PUT the file to this URL
      1. Method: PUT
      2. AWS S3 URL from step 1

    3. Finally, call project attachment api to finalized upload
      1. Method: POST
      2. URL: https://<epr_url>resources/projectAttachments

  3. Supporting attachments are also uploaded to EPR but are not inspected by Scout.

...