Sha256: 9557541850f4e023c1aa3f44186a8d602f224334763dc5fcebad5260f0245596
Contents?: true
Size: 1.43 KB
Versions: 6
Compression:
Stored size: 1.43 KB
Contents
# MessenteApi::NumberLookupApi All URIs are relative to *https://api.messente.com/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**fetch_info**](NumberLookupApi.md#fetch_info) | **POST** /hlr/sync | Requests info about phone numbers ## fetch_info > SyncNumberLookupSuccess fetch_info(numbers_to_investigate) Requests info about phone numbers ### Example ```ruby # load the gem require 'messente_api' # setup authorization MessenteApi.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = MessenteApi::NumberLookupApi.new numbers_to_investigate = {"numbers":["+37251000000","+37251000001"]} # NumbersToInvestigate | Numbers for lookup begin #Requests info about phone numbers result = api_instance.fetch_info(numbers_to_investigate) p result rescue MessenteApi::ApiError => e puts "Exception when calling NumberLookupApi->fetch_info: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **numbers_to_investigate** | [**NumbersToInvestigate**](NumbersToInvestigate.md)| Numbers for lookup | ### Return type [**SyncNumberLookupSuccess**](SyncNumberLookupSuccess.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
6 entries across 6 versions & 1 rubygems