e
q
u
e
s
t
a
d
e
m
o
API Reference: State Province
{TOC}
"State Province" API
API function
.NET:
HushHush.MaskingLogic.SSRS.Mask.StateProvincesRandom(string data)
Expected input
Data: Valid USA state or territory name or code or Valid Canadian Province (based on ISO 3166-1)
Expected output
Generic USA or Canadian state/province or USA territory name (format depends on input, based on ISO 3166-1) (nvarchar(MAX))
Error handling
Returns an empty string when passing empty or NULL value. Fails on invalid state/province name or code
Example
.NET:
HushHush.MaskingLogic.SSRS.Mask.StateProvincesRandom(“Texas”)