smartystreets / smartystreets-dotnet-sdk

The official client libraries for accessing SmartyStreets APIs from .Net (C# and CLR-based languages)
https://smartystreets.com/docs/sdk/dotnet
Apache License 2.0
22 stars 20 forks source link

Footnotes values are differents between enhanced and strict match-strategies #29

Closed rolando-overactive closed 3 years ago

rolando-overactive commented 3 years ago

Hi team, Currently we are using smarty sdk with a match strategy= enhanced but for street address like bellow the sdk/api is returning a null value for Footnotes (and should be L#E#I# for the example bellow)

var streetAddress= new StreetDto()
            {
                City = "BALTIMORE",
                State = "MD",
                Street = "1 ROSEDALE",
                Street2 = null,
                ZipCode = "21229",
                MatchStrategy = Lookup.ENHANCED
            };

The strange behaivor is that if we change the strategy to Strict the problem is gone and we get a good result (L#E#I#)

why we get different results? (not sure if this a issue with sdk or the smarty street api).

a complete example of this issue is there: https://github.com/rolando-overactive/smartystreets/blob/main/SmartyStreetsTests/SmartyStreetsServiceTests.cs

thank you for your support!

joliver commented 3 years ago

@rolando-overactive This is actually API issue. At the present time, the API doesn't return values for those fields when using enhanced matching. We don't have a timeline on when those fields will be populated.

rolando-overactive commented 3 years ago

thank @joliver !