Connections
Connections between two CIS Manager tenants (Interlinks), one resource seen from the viewing tenant's side: direction is relative to the viewer (Out = the subcontractor that shared its CIS details, In = the contractor they were sent to). A subcontractor tenant shares its details with one of its contractor contacts, who is emailed them; the contractor accepts by setting its side (a subcontractor created from the shared details, or an existing one), which connects both; a pending connection sent to a tenant can be rejected, any other deleted. A contractor asks a subcontractor for its details with a CIS details request instead. No module gate.
-
GET List ConnectionsWith contact: the connections in which that contact is the tenant's side, at most one per direction (the contact page's lookup). Without: the connecti.../tenants/{tenant}/connections
-
POST Create ConnectionShares the tenant's CIS details with the contractor one of its contacts stands for. The contractor is emailed the details at the given address (and th.../tenants/{tenant}/connections
-
GET Get ConnectionThe connection as the tenant sees it: one it initiated, one it accepted, or one sent to it. A connection the tenant is on neither side of is not found.../tenants/{tenant}/connections/{connection}
-
DELETE Delete ConnectionRejects a connection sent to the tenant that it has not accepted (the initiator keeps its record, marked rejected); removes any other connection the t.../tenants/{tenant}/connections/{connection}
-
PUT Accept ConnectionAccepts a connection sent to the tenant by setting the tenant's side: the given contact, or, with no contact, a supplier and CIS subcontractor created.../tenants/{tenant}/connections/{connection}/counterparty