NodePing.Schedules.get_by_name
You're seeing just the function
get_by_name
, go back to NodePing.Schedules module for more information.
Get a schedule by its name (ID) on your account or subaccount
Parameters
token
- NodePing API token that is provided with accountname
- The name or ID you want to give your schedulecustomerid
- optional ID to access a subaccount
Examples
iex> token = System.fetch_env!("TOKEN")
iex> name = "My work schedule"
iex> {:ok, result} = NodePing.Schedules.get_by_name(token, name)