View Source ActiveCampaign.Note (active_campaign v0.3.0)
Documentation for ActiveCampaign.Note
.
Link to this section Summary
Link to this section Functions
Create a note
examples
Examples
iex> ActiveCampaign.Note.create(%{
note: "This is the text of the note",
relid: 2,
reltype: "Subscriber"
})
{:ok, %{"note" => %{...}}}
Delete a note
examples
Examples
iex> ActiveCampaign.Note.delete(1)
{:ok, %{...}}
Retrieve a note
examples
Examples
iex> ActiveCampaign.Note.get(1)
{:ok, %{"note" => %{...}}}
Update a note
examples
Examples
iex> ActiveCampaign.Note.update(
1,
%{
note: "This is the text of the note",
relid: 2,
reltype: "Subscriber"
}
)
{:ok, %{"note" => %{...}}}