Searches for numbers assigned to Service Provider/ Enterprise and allows search criteria and limiting result.
Parameters
service_provider_id (str): Service Provider or Enterprise ID where group is hosted.
dn (int): Number/ part of number to search for.
filter_type (str, optional): Options: equal to, starts with, or contains. Defaults to None. limit (int, optional): Limits the amount of values API returns. Defaults to None.
Returns
List: List of numbers matching search criteria
How To Use:
from odins_spear import apimy_api= api.Api(base_url="https://base_url/api/vx", username="john.smith", password="ODIN_INSTANCE_1")my_api.authenticate()my_api.get.service_provider_dn_search("serviceProviderId", dn="01942", filter_type="contains", limit=10)