NodePing.Schedules.get_by_name-exclamation-mark

You're seeing just the function get_by_name-exclamation-mark, go back to NodePing.Schedules module for more information.
Link to this function

get_by_name!(token, name, customerid \\ nil)

View Source

Get a schedule by its name (ID) on your account or subaccount

Parameters

  • token - NodePing API token that is provided with account
  • name - The name or ID you want to give your schedule
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> name = "My work schedule"
iex> result = NodePing.Schedules.get_by_name!(token, name)