Skip to content

findConnectionsForUser ​

Returns all invited connections for a given user.

April 2023 - added field "usesCAF" : true/false - indicates the company uses a CAF Company Access Form

Request ​

http
GET /rest/user/company/connections

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

inviteStatusCode - status code of an invite. Permitted values: P = PENDING A = ACCEPTED

NOTE: if inviteStatusCode is NOT passed then it will return both PENDING and ACCEPTED connections. This is the default behaviour but can be overloaded by passing a specific inviteStatusCode

Response ​

200 OK ​

Returns an array of connections:

json
[
  {
    "connectionId": 21,
    "cId": 3,
    "uId": 21,
    "cName": "My Interact Finance",
    "inviteStatusCode": "A",
    "inviteStatusName": "Accepted",
    "dInvited": 1385077546098,
    "dExpires": null,
    "dAccepted": 1385077767491,
    "dRejected": null,
    "myLogo": "https://s3.amazonaws.com/DEV.com.nextinteract.brochures/3/images/1-logo.gif",
    "cIndustry": "Finance (Private Wealth)",
    "termsAndConditionsUrl": null,
    "cHideMIWall": "N",
    "cLegalEntityName": "My INTERACT Finance Pty Ltd",
    "cPrivacyOfficerName": "Sam Bloggs",
    "cPrivacyOfficerInfo": "privacy@interact.technology",
    "cPrivacyPolicyURL": "https://s3-us-west-1.amazonaws.com/interact.technology/legal/internet-services/au/privacy.html",
    "shareableQRCodeUUID":  "7c6c8f33-bd1e-48f6-bd0b-57356add0504",
    "usesCAF" : true
  },
  {
    "connectionId": 23,
    "cId": 4,
    "uId": 21,
    "cName": "My Interact Insurance",
    "inviteStatusCode": "P",
    "inviteStatusName": "Pending",
    "dInvited": 1385081480125,
    "dExpires": null,
    "dAccepted": null,
    "dRejected": null,
    "myLogo": "https://s3.amazonaws.com/DEV.com.nextinteract.brochures/4/images/1-logo.gif",
    "cIndustry": "Insurance (Property)",
    "termsAndConditionsUrl": "http://www.apple.com/legal/internet-services/itunes/au/terms.html",
    "cHideMIWall": "Y",
    "cLegalEntityName": "My INTERACT Insurance Pty Ltd",
    "cPrivacyOfficerName": "Mike Bloggs",
    "cPrivacyOfficerInfo": "privacy@interact.technology",
    "cPrivacyPolicyURL": "https://s3-us-west-1.amazonaws.com/interact.technology/legal/internet-services/au/privacy.html",
    "shareableQRCodeUUID":  "7c6c8f33-bd1e-48f6-bd0b-57356add0504",
    "usesCAF" : false
  }
]

Errors ​

ExceptionDescription
WSCompanyServiceUnavailableExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSCompanyServiceExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions