kevbite / CompaniesHouse.NET

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

New Filing Sub-Category document-replacement #107

Closed invdev-rh closed 5 years ago

invdev-rh commented 5 years ago

Hi,

I am getting the following error: Newtonsoft.Json.JsonSerializationException: Error converting value "document-replacement" to type 'CompaniesHouse.Response.FilingSubcategory'. Path 'items[1].subcategory', line 1, position 838. ---> System.ArgumentException: Requested value 'document-replacement' was not found.

Looking at the attributes in FilingSubcategory it seems document-replacement is not listed. Can you please look into it for me.

Thanks, Rob.

kevbite commented 5 years ago

Hey @invdev-rh,

You got a company number which is occoring for so I can reproduce it?

I'll try to get a fix in for this by tonight.

Cheers,

Kev

invdev-rh commented 5 years ago

Yes, here it is: 09018331

Thanks for that Kev!

kevbite commented 5 years ago

@invdev-rh this has now been fixed and is part of the release 7.0.1 feel free to grab the latest from NuGet.

Thanks for raising this issue.

invdev-rh commented 5 years ago

Fast work, thank you very much!