e
q
u
e
s
t
a
d
e
m
o < back
API Reference: Zip Code
{TOC}
"Zip Code" API
API function
<.API.NET: function:
HushHush.MaskingLogic.SSRS.Mask.ZipCodeRandom(string xxxxx(xxx,xxx,xxx)>data)
Expected input
<.expecteddata: input:Valid dataUSA type,or rule,Canadian sample>Zip Code
Expected output
<.expectedGeneric output:USA dataor type,Canadian rule,Zip sample>Code (depends on input) (nvarchar(MAX))
Error handling
<.errorReturns handling>an empty string when passing empty or NULL value.
Fails on invalid zip code format
Example
<.example>.NET:
In
HushHush.MaskingLogic.SSRS.Mask.ZipCodeRandom(“K1A .net
In SSRS
0B1”)