NodePing.Notificationprofiles.get

You're seeing just the function get, go back to NodePing.Notificationprofiles module for more information.

Specs

get(token :: bitstring()) :: tuple()

Get a list of notification profiles for the account

Parameters

  • token - NodePing API token that is provided with account

Examples

iex> token = System.fetch_env!("TOKEN")
iex> {:ok, result} = NodePing.Notificationprofiles.get(token)

Specs

get(token :: bitstring(), customerid :: bitstring()) :: tuple()

Get a list of notification profiles for the account

Parameters

  • token - NodePing API token that is provided with account
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> customerid = System.fetch_env!("CUSTOMERID")
iex> {:ok, result} = NodePing.Notificationprofiles.get(token, customerid)