View Source ActiveCampaign.CustomObject.Record (active_campaign v0.2.3)

Documentation for ActiveCampaign.CustomObject.Record.

Link to this section Summary

Functions

Create or update record

Delete a record by id

Delete a record by external ID

Get a record by id

Get a record by external id

List records by schema

Link to this section Functions

Link to this function

create(schema_id, record)

View Source
@spec create(integer(), map()) :: {:ok, map()} | {:error, any()}

Create or update record

Link to this function

delete(schema_id, record_id)

View Source
@spec delete(integer(), integer()) :: {:ok, map()} | {:error, any()}
@spec delete(integer(), integer()) :: {:ok, map()} | {:error, any()}

Delete a record by id

Link to this function

delete_by_external_id(schema_id, external_id)

View Source

Delete a record by external ID

Link to this function

get(schema_id, record_id)

View Source
@spec get(integer(), integer()) :: {:ok, map()} | {:error, any()}
@spec get(integer(), integer()) :: {:ok, map()} | {:error, any()}

Get a record by id

Link to this function

get_by_external_id(schema_id, external_id)

View Source

Get a record by external id

Link to this function

list(schema_id, query_params \\ %{})

View Source
@spec list(integer(), map()) :: {:ok, map()} | {:error, any()}

List records by schema