Gets all users of type

GET /api/contact/getContactsOfCompanyType

Gets all users of a particular company type (member/supplier)

Responses

GET /api/contact/getContactsOfCompanyType
curl \
 -X GET http://api.example.com/api/contact/getContactsOfCompanyType?typeid=string
Response examples (default)
[
  {
    "PASSCHANGED": "2024-05-04T09:42:00+00:00",
    "EMAILBLOCKED": true,
    "datemodified": "2024-05-04T09:42:00+00:00",
    "COMPANY_ID": 4521,
    "SENDIMMEDIATE": true,
    "EMAILARCHIVE": true,
    "permissions": {
      "view": true,
      "edit": false,
      "admin": false,
      "delete": false
    },
    "CONTACTID": 1341,
    "MOBILE": "07777 542547",
    "SURNAME": "Miller",
    "TAILOREDDIGEST": true,
    "TEL": "020 71933777",
    "FIRST_NAME": "Tom",
    "COMPANYTYPE": 4,
    "STATUS": "away",
    "COMPANYKNOWNAS": "eBiz",
    "COMPANYNAME": "eBiz UK Ltd",
    "JOBTITLE": "Documentation Ninja",
    "ACTIVE": true,
    "UNSUBSCRIBED": true,
    "roles": [
      {
        "NAME": "View Rebates",
        "ID": 123
      }
    ],
    "TURNOVEREMAILS": "weekly",
    "EMAIL": "hello@example.com"
  }
]