Extract information from a profile after compliance decision
Overview
Often a downstream system wants to pull in specific information on a profile to populate its own data, for example a CRM looking to ingest data once a profile has been approved by compliance.
---
config:
theme: redux-dark
look: classic
---
sequenceDiagram
participant ClientBackend as Clients App
participant DetectedApis as Detected APIs
Note over ClientBackend, DetectedApis: Listen for webhook <br>for when compliance approve profile
DetectedApis ->> ClientBackend: Profile webhook
Note over ClientBackend, DetectedApis: Authorisation
ClientBackend ->> DetectedApis: POST /oauth/token
DetectedApis -->> ClientBackend: Auth token
Note over ClientBackend, DetectedApis: Get core profile data
ClientBackend ->> DetectedApis: GET /profiles/{uuid}
Note over ClientBackend, DetectedApis: Get additional data (if required)
ClientBackend ->> DetectedApis: GET /representatives/
ClientBackend ->> DetectedApis: GET /profiles/{uuid}/forms
ClientBackend ->> DetectedApis: GET /profiles/{uuid}/analysis
ClientBackend ->> DetectedApis: GET /documents
ClientBackend ->> DetectedApis: etc (see API docs for more)