|
| 1 | +# com.Messente.Api.Api.NumberLookupApi |
| 2 | + |
| 3 | +All URIs are relative to *https://api.messente.com/v1* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**FetchInfo**](NumberLookupApi.md#fetchinfo) | **POST** /hlr/sync | Requests info about phone numbers |
| 8 | + |
| 9 | + |
| 10 | +<a name="fetchinfo"></a> |
| 11 | +# **FetchInfo** |
| 12 | +> SyncNumberLookupSuccess FetchInfo (NumbersToInvestigate numbersToInvestigate) |
| 13 | +
|
| 14 | +Requests info about phone numbers |
| 15 | + |
| 16 | +### Example |
| 17 | +```csharp |
| 18 | +using System; |
| 19 | +using System.Diagnostics; |
| 20 | +using com.Messente.Api.Api; |
| 21 | +using com.Messente.Api.Client; |
| 22 | +using com.Messente.Api.Model; |
| 23 | + |
| 24 | +namespace Example |
| 25 | +{ |
| 26 | + public class FetchInfoExample |
| 27 | + { |
| 28 | + public static void Main() |
| 29 | + { |
| 30 | + // Configure HTTP basic authorization: basicAuth |
| 31 | + Configuration.Default.Username = "YOUR_USERNAME"; |
| 32 | + Configuration.Default.Password = "YOUR_PASSWORD"; |
| 33 | + |
| 34 | + var apiInstance = new NumberLookupApi(); |
| 35 | + var numbersToInvestigate = new NumbersToInvestigate(); // NumbersToInvestigate | Numbers for lookup |
| 36 | +
|
| 37 | + try |
| 38 | + { |
| 39 | + // Requests info about phone numbers |
| 40 | + SyncNumberLookupSuccess result = apiInstance.FetchInfo(numbersToInvestigate); |
| 41 | + Debug.WriteLine(result); |
| 42 | + } |
| 43 | + catch (Exception e) |
| 44 | + { |
| 45 | + Debug.Print("Exception when calling NumberLookupApi.FetchInfo: " + e.Message ); |
| 46 | + } |
| 47 | + } |
| 48 | + } |
| 49 | +} |
| 50 | +``` |
| 51 | + |
| 52 | +### Parameters |
| 53 | + |
| 54 | +Name | Type | Description | Notes |
| 55 | +------------- | ------------- | ------------- | ------------- |
| 56 | + **numbersToInvestigate** | [**NumbersToInvestigate**](NumbersToInvestigate.md)| Numbers for lookup | |
| 57 | + |
| 58 | +### Return type |
| 59 | + |
| 60 | +[**SyncNumberLookupSuccess**](SyncNumberLookupSuccess.md) |
| 61 | + |
| 62 | +### Authorization |
| 63 | + |
| 64 | +[basicAuth](../README.md#basicAuth) |
| 65 | + |
| 66 | +### HTTP request headers |
| 67 | + |
| 68 | + - **Content-Type**: application/json |
| 69 | + - **Accept**: application/json |
| 70 | + |
| 71 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) |
| 72 | + |
0 commit comments