NodePing.Maintenance.get_by_id

You're seeing just the function get_by_id, go back to NodePing.Maintenance module for more information.
Link to this function

get_by_id(token, id, customerid \\ nil)

View Source

Get maintenance information for a specific maintenance entry.

Parameters

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

Examples

iex> token = System.fetch_env!("TOKEN")
iex> id = "NZT101"
iex> {:ok, result} = NodePing.Maintenance.get_by_id(token, id)