...
Given a new Company is created with a specified group_id on initial SSO (see 1.1.1), the relevant data are imported from Connec! for this group_id
3.
...
2 Push entities to Connec!
The term entities refers to the resources exposed by Connec! data-model. This can be customers, products, invoices, employees, etc...
3.2.1 Send created records to Connec!
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
When a record is created in the application, a request to create an entity is sent to Connec! The ID of the Connec! entity is stored to support subsequent updates (see Multi-Tenant Integration)
3.2.2 Send updated records to Connec!
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
When a record is updated in the application, a request to update the entity is sent to Connec! The ID of the Connec! entity is specified as the one retrieved from a previous entity creation. Failing to specify such ID would result in creating a duplicate record
3.3 Receive notifications from Connec!
3.3.1 Notification of a new entity
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
When a notification is received from Connec! and the ID of the entity is not known, a new record is created in the application and the ID of the Connec! entity is stored to support subsequent updates
3.3.2 Notification of an updated entity
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
GivenWhen a notification is received from Connec! and the ID of the entity is known, the matching record is updated in the application