3rd Party Integration Overview
The following are the typical integration requirements for the 3rd party applications.(NOTE: PARTNER = External/3rd party Back office or iPaaS implementer systems)
INTAKE
Customer portal and/or 3rd permitting application send plan documents to Partner applications for validation.
Partner application calls the e-PlanSoft™ Scout API to validate each plan document.
Plan documents that do not pass Scout will not be accepted by e-PlanREVIEW® (EPR).
PROJECTS
Partner application creates the new project in EPR. This includes the project info, project address and project team members.
If the contact record does not exist, Partner application creates the contact record.
Partner application associate the contact record to the project record as the primary contact.
Partner application updates the project information/address/contact when it is modified in the permitting application.
DOCUMENTS
Partner application calls the EPR API to upload plan documents in PDF format: step-by-step guide
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:
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
Supporting attachments are also uploaded to EPR but are not inspected by Scout.
ASSIGNMENTS
Partner application calls the EPR API to create plan assignments for the newly uploaded plan documents.
Partner application calls the EPR API to update an existing EPR assignment record (due date, status, user reassignment etc.) as necessary.
EPR PUSHES TO EXTERNAL APPLICATION
EPR calls the Partner application API to report a change in the plan assignment status.
EPR calls the Partner application API when all plan assignments are complete.
DOCUMENT CHECK IN
EPR users will create a compressed ZIP file from all the documents to return to Partner application (reviewed plans, attachments/correction reports, etc.)
EPR will call the Partner application ‘check in’ API to provide a URL to retrieve the ZIP file from the EPR server.
PROJECT TEAM MEMBERSHIPS
EPR requires that each project consist of one or more project team members (reviewers, dept managers, permit techs, etc.) and EPR provides the ability to configure project team templates based on project types. These templates auto insert ‘users’ into a newly saved project record. These templates will be configured and managed in EPR unless the permitting application has similar functionality, in which case, Partner may call the EPR API to the create project team when a new project is created in EPR and the EPR ‘templates’ are not necessary.
DOCUMENT RE-SUBMITTAL
If any of plan documents need corrections, repeat the process starting at INTAKE.
HANDLING ASSIGNMENTS FOR RE-SUBMITTAL
EPR will automatically reset the its existing assignment record statuses to ‘not started’ and point the latest document version to the assignment records. Therefore, Partner should not create EPR assignments for the next submittal. However, if the permitting application itself creates new assignment records for the new ‘submittal’, then Partner should change the EPR assignment record vendor_id to point to the new PK in the permitting application. Partner may create new assignment records in EPR for the latest submittal if an assignment was not created for the prior submittal.
CLOSING THE PROJECT
Partner updates the EPR project status with the final status.
Cycle Ends
EPR NAVIGATION via API calls
Partner should call the EPR API to get a login token for the current permitting application user (passing the user’s email address) to:
Navigate to the EPR Dashboard.
Navigate to the EPR Project page for a specified project.
Navigate to the EPR Assignments page for the user.
Navigate to the EPR Plan Review page for a specified assignment/task.