e
q
u
e
s
t
a
d
e
m
o
API Reference: US Phone Nu
{TOC}
"US Phone Nu" API
API function
.NET:
HushHush.MaskingLogic.SSRS.Mask.UsaPhoneRandom(string data)
Expected input
Data: numeric USA Phone (can contain separators). Length without separators - 10 digits
Expected output
Generic USA Phone of the same format as input (nvarchar(MAX))
Error handling
Returns an empty string when passing empty or NULL value. Fails on digits count less or more than 10
Example
.NET:
HushHush.MaskingLogic.SSRS.Mask.UsaPhoneRandom(“898.456.4456”)