function telecoms.numrange.list

Lists the number ranges on an account (for registered telcos only).

Arguments:

argrequired?syntaxinfo
owner_custIDYposintcustID of account whose ranges you want to list.
rangeIDNlist:posintLimit results to these specific ranges.
first_numberNposintOnly list the range where this is the first number in it.
first_number.startsNunsintOnly list ranges where the first number begins with these digits.
last_numberNposintOnly list the range where this is the last number in it.
contains_numberNposintOnly list the range that contains this number.
range_typeIDNposintOnly list ranges of this type.
telcoIDNposintOnly list ranges owned by this telco.
subaccsNbooleanIf true, also lists ranges owned by sub-accounts of owner_custID.
porting_telcoNstringList virtual ranges that represent numbers ported in from the specified telco.
chargebandNstringLimit result set to ranges that are in this BT chargeband.
conservation_statusNset:NULL|not_conserved|conserved|conserved_chargedLimit result set to ranges that have one of these conservation statuses.
ofcom_reg_ownerNlist:string 
optfieldsNset:chargeband|chargeband_comment|ingress_type|prefix|conservation_statusAdditional fields that can optionally be requested in the return data.