kevbite / CompaniesHouse.NET

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

Dissolved companies FilingCategory #77

Closed AlwaysVbNet closed 6 years ago

AlwaysVbNet commented 6 years ago

Kevin,

when trying to get the filing history of company number "06454743" which appears to be "Dissolved" an exception is thrown:

{"Error converting value ""restoration"" to type 'CompaniesHouse.Response.FilingCategory'. Path 'items[10].category', line 1, position 5612."}

Any ideas?

kevbite commented 6 years ago

Looks like they might have updated the FilingCategory values, we'll need to add restoration to the list of possible enum values in FilingCategory.cs

kevbite commented 6 years ago

Thanks for helping out with that, will be in next version after #78 has merged back to master and deployed.