ActiveCampaign.Note (active_campaign v0.1.0)
Documentation for ActiveCampaign.Note
.
Link to this section Summary
Link to this section Functions
Link to this function
create(note)
Create a note
examples
Examples
iex> ActiveCampaign.Note.create(%{
note: "This is the text of the note",
relid: 2,
reltype: "Subscriber"
})
{:ok, %{"note" => %{...}}}
Link to this function
delete(id)
Delete a note
examples
Examples
iex> ActiveCampaign.Note.delete(1)
{:ok, %{...}}
Link to this function
get(id)
Retrieve a note
examples
Examples
iex> ActiveCampaign.Note.get(1)
{:ok, %{"note" => %{...}}}
Link to this function
update(id, 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" => %{...}}}