Appearance
findCompanyProfiles ​
Finds all companies currently assigned to a User and App combo
Request ​
http
GET /rest/user/company/profilesHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
appCode - appCode of requesting app i.e. NI = Next Interact (default if none provided), MY = My Interact
Response ​
200 OK ​
Returns an array of Company detail objects. NOTE: this example only returned one but multiple are possible
json
[ { "awsAccessKeyId" : "AKIAISELLNOACLDXZ6KA",
"awsSecretAccessKey" : "VqHv1Anim3nGLu4y7uMIjExd1PTmAcNNQGnEMoQU",
"cAddress1" : "Address 1",
"cAddress2" : null,
"cContactEmail" : "mattmartin65@me.com",
"cContactFirstname" : "Matt Martin",
"cContactLastname" : null,
"cContactPhone" : "0413 025 975",
"cFax" : "02 12345679",
"cId" : 1,
"cLogo" : "https://s3.amazonaws.com/DEV.com.nextinteract.brochures/1/images/1-logo.png",
"cName" : "Next Interact",
"cPhone" : "02 12345679",
"cWebsite" : "www.nextinteract.com",
"companyAwsUserName" : "ni.DEV.company.1",
"myLogo" : "https://s3.amazonaws.com/DEV.com.nextinteract.brochures/1/images/1-myinteractlogo.jpg",
"platformCode" : "NI",
"termsAndConditionsURL":"http://www.healthinteract.com.au/terms.html",
"useWallSecurity": "N",
"wallSecurityEmail": null,
"wallSecurityTimeout": null,
"cHideMIWall": "N",
"cLegalEntityName": "INTERACT Technology Pty Ltd",
"cPrivacyOfficerName": "Anna Cullinane",
"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"
} ]Errors ​
| Exception | Description |
|---|---|
WSCompanyServiceUnavailableException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCompanyServiceException | See Error Definitions |
WSCacheServiceException | See Error Definitions |