Gets companies

GET /api/company/getCompanyOfType

Gets a list of companies by type

Query parameters

Responses

GET /api/company/getCompanyOfType
curl \
 -X GET http://api.example.com/api/company/getCompanyOfType
Response examples (default)
[
  {
    "contact": [
      {
        "surname": "string",
        "first_name": "string",
        "id": 42,
        "email": "hello@example.com"
      }
    ],
    "COMPANY_ADDRESS_1": "string",
    "permissions": {
      "view": true,
      "edit": false,
      "admin": false,
      "delete": false
    },
    "COMPANY_PHONE": "string",
    "CONTACT_ID": "string",
    "COMPANY_ADDRESS_4": "string",
    "COMPANY_POSTCODE": "string",
    "COMPANY_PHONE_2": "string",
    "COMPANYID": 42,
    "COMPANY_ADDRESS_2": "string",
    "KNOWN_AS": "string",
    "NAME": "string",
    "COMPANY_ADDRESS_3": "string",
    "COMPANY_ADDRESS_5": "string"
  }
]