kevbite / CompaniesHouse.NET

A simple .NET client wrapper for CompaniesHouse API
MIT License
37 stars 44 forks source link

Add company type "registered-overseas-entity" #184

Closed bernhard-dwe closed 2 years ago

bernhard-dwe commented 2 years ago

We've just seen an exception when parsing a CH response (below). I hope this will fix it.

Error converting value "registered-overseas-entity" to type 'CompaniesHouse.Response.CompanyType'. Path 'company_type', line 1, position 4205.
Requested value 'registered-overseas-entity' was not found.

Note: This company type appears to be relatively new as it's the last listed on https://developer-specs.company-information.service.gov.uk/companies-house-public-data-api/resources/companysearch?v=latest