Skip to content

findCompanyProfiles ​

Finds all companies currently assigned to a User and App combo

Request ​

http
GET /rest/user/company/profiles

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth 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 ​

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