View Source Infusionsoft.Endpoints.XML.Data (Infusionsoft v0.8.0)
Provides the raw endpoints to Infusionsoft's XML API for Data actions.
Summary
Functions
This function is not mapped to any Infusionsoft API endpoint. Instead, it is a helper
to recurse on query_a_data_table/6
and get the full number of records instead of one page.
Functions
https://developer.infusionsoft.com/docs/xml-rpc/#data-count-a-data-table-s-records
https://developer.infusionsoft.com/docs/xml-rpc/#data-create-a-record
@spec create_custom_field(String.t(), String.t(), String.t(), integer(), String.t()) :: {:ok, integer()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-create-a-custom-field
https://developer.infusionsoft.com/docs/xml-rpc/#data-delete-a-record
@spec find_by_field( String.t(), String.t(), String.t(), [String.t()], String.t(), keyword() ) :: {:ok, list()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-find-a-record-by-matching-a-specific-field
Available options: page - defaults to 0 limit - defaults to 1000
@spec query_a_data_table(String.t(), map(), [String.t()], String.t(), keyword()) :: {:ok, [map()]} | {:error, any()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-query-a-data-table
Available options: page - defaults to 0 limit - defaults to 1000 order_by - defualts to Id ascending - defaults to false
@spec query_all_from_table(String.t(), map(), [String.t()], String.t(), keyword()) :: {:ok, list()} | {:error, String.t()}
This function is not mapped to any Infusionsoft API endpoint. Instead, it is a helper
to recurse on query_a_data_table/6
and get the full number of records instead of one page.
https://developer.infusionsoft.com/docs/xml-rpc/#data-query-a-data-table
Available options: order_by - defualts to Id ascending - defaults to false
@spec retrieve_a_record(String.t(), integer(), [String.t()], String.t()) :: {:ok, map()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-retrieve-a-record
@spec retrieve_application_setting(String.t(), String.t(), String.t()) :: {:ok, String.t()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-retrieve-application-setting
https://developer.infusionsoft.com/docs/xml-rpc/#data-retrieve-an-appointment-s-icalendar-file
@spec update_a_custom_field(integer(), map(), String.t()) :: {:ok, boolean()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-update-a-custom-field
@spec update_a_record(String.t(), integer(), map(), String.t()) :: {:ok, integer()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-update-a-record
@spec validate_a_users_credentials(String.t(), String.t(), String.t()) :: {:ok, integer() | String.t()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#data-validate-a-user-s-credentials