e
q
u
e
s
t
a
d
e
m
o < back
API Reference: Phone Nu
{TOC}
"Phone Nu" API
API function
<.API.NET: function:
HushHush.MaskingLogic.SSRS.Mask.PhoneRandom(string xxxxx(xxx,xxx,xxx)>data)
Expected input
<.expecteddata: input:numeric dataphone type,(can rule,contain sample>separators). Length without separators from 9 to 15 digits.
Expected output
<.expectedGeneric output:Phone dataof type,the rule,same sample>format as input (nvarchar(MAX))
Error handling
<.errorReturns handling>an empty string when passing empty or NULL value.
Fail on digits count less than 9 or more than 15
Example
<.example>.NET:
In .net
In SSRS
HushHush.MaskingLogic.SSRS.Mask.PhoneRandom(“+1.898.456.4456”)