List Companies

List companies based on provided input.

Input

Input Example

{
    "registrationNumber": "12345"
}

Output

Company Details

Previous Names

Output Example

[
  {
    "id": "1a2b3c4d",
    "name": "Example Corp",
    "registration_number": "REG123456",
    "registration_date": "2020-01-01",
    "state": "Active",
    "suffix": "Ltd",
    "address": "123 Business Road",
    "street": "Business Avenue",
    "postcode": "BIZ123",
    "locality": "Business City",
    "previous_names": [
      {
        "uuid": "pre1a2b3c",
        "previous_name": "Old Corp",
        "effective_date": "2019-12-31",
        "company_uuid": "1a2b3c4d",
        "company": "Example Corp"
      }
    ],
    "last_modified": "2023-10-01"
  },
  {
    "id": "5e6f7g8h",
    "name": "Sample LLC",
    "registration_number": "REG654321",
    "registration_date": "2018-05-15",
    "state": "Active",
    "suffix": "LLC",
    "address": "456 Sample Street",
    "street": "Sample Boulevard",
    "postcode": "SMP456",
    "locality": "Sample Town",
    "previous_names": [
      {
        "uuid": "pre9w8x7y",
        "previous_name": "Test LLC",
        "effective_date": "2018-05-14",
        "company_uuid": "5e6f7g8h",
        "company": "Sample LLC"
      }
    ],
    "last_modified": "2023-09-20"
  }
]

Last updated