function func.list

See also:


This function returns a list of functions that you may call. Superusers can optionally list ALL functions.

Arguments:

argrequired?syntaxinfo
show_allNbooleanShow all functions on the system, regardless of whether you have permission to run them (superusers only)

Return Values

A list of available function names.

Example 1

A standard telecoms-prepay customer querying their list of available functions.

JSON example request:

POST https://live.apicontrol.co.uk/1/json
{
    "auth" : {
        "username" : "YOURUSERNAME",
        "password" : "YOURPASSWORD",
    },
   "func" : "argdef",
   "args" : {}
}

JSON example response:

{
   "results" : {
      "data" : [
         "argdef",
         "contact.create",
         "contact.edit",
         "contact.list",
         "country.getdetails",
         "cust.accounting.acchist.billcomp.list",
         "cust.accounting.balances.get",
         "cust.accounting.gethist",
         "cust.accounting.getinfo",
         "cust.edit",
         "cust.getdetails",
         "cust.news.list",
         "cust.news.recipient.flags",
         "cust.options.list",
         "cust.subscription.create",
         "cust.subscription.delete",
         "cust.subscription.list",
         "cust.subscription.type.list",
         "cust.type.get",
         "dom.list",
         "dom.type.list",
         "func.list",
         "invoice.get",
         "invoice.getdetails",
         "invoice.item.recurring.list",
         "invoice.list",
         "invoice.tn.list",
         "multifunc",
         "payment.assignment.list",
         "payment.list",
         "payment.listassignments",
         "payment.take",
         "payment.transaction.register",
         "paymentcard.list",
         "telecoms.bundle.usage.list",
         "telecoms.call.hangup",
         "telecoms.callback.create",
         "telecoms.callcredit.autotopup.ratelimit.create",
         "telecoms.callcredit.autotopup.ratelimit.delete",
         "telecoms.callcredit.autotopup.ratelimit.edit",
         "telecoms.callcredit.autotopup.ratelimit.get",
         "telecoms.callcredit.balance.get",
         "telecoms.callcredit.topup",
         "telecoms.callcredit.topup.bonuslevel.list",
         "telecoms.callcredit.topup.list",
         "telecoms.callcredit.topup.settings.edit",
         "telecoms.callcredit.topup.settings.get",
         "telecoms.calldata.cliprofile.selgroup.create",
         "telecoms.calldata.cliprofile.selgroup.delete",
         "telecoms.calldata.cliprofile.selgroup.edit",
         "telecoms.calldata.cliprofile.selgroup.get",
         "telecoms.calldata.cliprofile.selgroup.list",
         "telecoms.calldata.detail.get",
         "telecoms.calldata.getmaxcallID",
         "telecoms.calldata.totals.get",
         "telecoms.callrec.delete",
         "telecoms.callrec.url.generate",
         "telecoms.cart.assign",
         "telecoms.cart.checkout",
         "telecoms.cart.create",
         "telecoms.cart.delete",
         "telecoms.cart.edit",
         "telecoms.cart.get",
         "telecoms.cart.list",
         "telecoms.clear.cause.list",
         "telecoms.conference.create",
         "telecoms.conference.delete",
         "telecoms.conference.edit",
         "telecoms.conference.get",
         "telecoms.conference.list",
         "telecoms.dayparting.create",
         "telecoms.dayparting.delete",
         "telecoms.dayparting.edit",
         "telecoms.dayparting.get",
         "telecoms.dayparting.list",
         "telecoms.facility.attr.del",
         "telecoms.facility.attr.list",
         "telecoms.facility.attr.set",
         "telecoms.facility.attr.type.list",
         "telecoms.facility.cancel",
         "telecoms.facility.check",
         "telecoms.facility.list",
         "telecoms.facility.listall",
         "telecoms.facility.required.check",
         "telecoms.ida.create",
         "telecoms.ida.defaults.get",
         "telecoms.ida.delete",
         "telecoms.ida.edit",
         "telecoms.ida.get",
         "telecoms.ida.list",
         "telecoms.ivr.create",
         "telecoms.ivr.delete",
         "telecoms.ivr.edit",
         "telecoms.ivr.get",
         "telecoms.ivr.list",
         "telecoms.location.egress.list",
         "telecoms.location.info",
         "telecoms.location.prefix.list",
         "telecoms.num.browse",
         "telecoms.num.list",
         "telecoms.num.note.add",
         "telecoms.num.ref.del",
         "telecoms.num.ref.set",
         "telecoms.num.reservation.list",
         "telecoms.num.reserve",
         "telecoms.num.route",
         "telecoms.num.subscribe",
         "telecoms.num.svcopt.list",
         "telecoms.num.unreserve",
         "telecoms.num.unsubscribe",
         "telecoms.num.validate",
         "telecoms.pbx.site.create",
         "telecoms.pbx.site.delete",
         "telecoms.pbx.site.edit",
         "telecoms.pbx.site.get",
         "telecoms.pbx.site.list",
         "telecoms.pbx.supplier.list",
         "telecoms.rates.egress",
         "telecoms.rates.egress.list",
         "telecoms.rates.ingress",
         "telecoms.routeplan.create",
         "telecoms.routeplan.delete",
         "telecoms.routeplan.edit",
         "telecoms.routeplan.list",
         "telecoms.routeto.ok",
         "telecoms.routetotype.list",
         "telecoms.soundclip.create",
         "telecoms.soundclip.delete",
         "telecoms.soundclip.edit",
         "telecoms.soundclip.get",
         "telecoms.soundclip.list",
         "telecoms.soundclip.roletype.list",
         "telecoms.svcchgopt.list",
         "telecoms.telecaptcha.create",
         "telecoms.voicemail.mailbox.create",
         "telecoms.voicemail.mailbox.delete",
         "telecoms.voicemail.mailbox.edit",
         "telecoms.voicemail.mailbox.list",
         "telecoms.zone.create",
         "telecoms.zone.delete",
         "telecoms.zone.edit",
         "telecoms.zone.get",
         "telecoms.zone.list",
         "timezone.list",
         "user.subscription.create",
         "user.subscription.delete",
         "user.subscription.list",
         "user.subscription.type.list",
         "vatinfo",
         "whoami"
      ]
   },
   "success" : 1
}