Exemplo n.º 1
0
 /// <summary>
 /// Retrieve validity, roaming, and reachability information about a mobile phone number.
 /// </summary>
 /// <param name="request">NI advenced request</param>
 /// <param name="creds">(Optional) Overridden credentials for only this request</param>
 /// <returns></returns>
 /// <exception cref="NexmoHttpRequestException">thrown if an error is encountered when talking to the API</exception>
 /// <exception cref="NumberInsightResponseException">thrown if response contains non-zero status</exception>
 public Api.NumberInsight.NumberInsightAdvancedResponse RequestAdvanced(Api.NumberInsight.NumberInsightRequest request, Credentials creds = null)
 {
     return(Api.NumberInsight.RequestAdvanced(request, creds ?? Credentials));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Performs basic semantic checks on given phone number.
 /// </summary>
 /// <param name="request">NI request</param>
 /// <param name="creds">(Optional) Overridden credentials for only this request</param>
 /// <returns></returns>
 /// <exception cref="NexmoHttpRequestException">thrown if an error is encountered when talking to the API</exception>
 /// <exception cref="NumberInsightResponseException">thrown if response contains non-zero status</exception>
 public Api.NumberInsight.NumberInsightBasicResponse RequestBasic(Api.NumberInsight.NumberInsightRequest request, Credentials creds = null)
 {
     return(Api.NumberInsight.RequestBasic(request, creds ?? Credentials));
 }