NodePing.Notificationprofiles.get_id

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

Specs

get_id(token :: bitstring(), id :: bitstring()) :: tuple()

Get information for the notification profile for an account

Parameters

  • token - NodePing API token that is provided with account
  • id - the ID for the notification profile

Examples

iex> token = System.fetch_env!("TOKEN")
iex> id = "201205050153W2Q4C-P-3QJWG"
iex> {:ok, result} = NodePing.Notificationprofiles.get_id(token, id)
Link to this function

get_id(token, id, customerid)

View Source

Specs

get_id(token :: bitstring(), id :: bitstring(), customerid :: bitstring()) ::
  tuple()

Get information for the notification profile for a subaccount

Parameters

  • token - NodePing API token that is provided with account
  • id - the ID for the notification profile
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> customerid = System.fetch_env!("CUSTOMERID")
iex> id = "201205050153W2Q4C-P-3QJWG"
iex> {:ok, result} = NodePing.Notificationprofiles.get_id(token, id, customerid)