Versions Compared

Key

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

...

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
subtletrue
colourRed
titleRequired

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
subtletrue
colourRed
titleRequired

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
subtletrue
colourRed
titleRequired

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
subtletrue
colourRed
titleRequired

GivenWhen a notification is received from Connec! and the ID of the entity is known, the matching record is updated in the application