Appearance
findConnectionForUser ​
Returns a SINGLE "Accepted" connection for a given User and Company.
April 2023 - added field "usesCAF" : true/false - indicates the company uses a CAF Company Access Form
Request ​
http
GET /rest/user/company/{cId}/connectionHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
cId - Company Id of the Company being searched for
Response ​
200 OK ​
Returns a SINGLE connection or null if not found:
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
}Errors ​
| Exception | Description |
|---|---|
WSCompanyServiceUnavailableException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCompanyServiceException | See Error Definitions |
WSCacheServiceException | See Error Definitions |