Infusionsoft v0.2.1 Infusionsoft.Endpoints.XML.Data View Source

Provides the raw endpoints to Infusionsoft’s XML API for Data actions.

Link to this section Summary

Functions

Helper to recurse and get the full number of records instead of one page

https://developer.infusionsoft.com/docs/xml-rpc/#data-query-a-data-table

Link to this section Functions

Link to this function query_all_from_table(query, table, r_fields, token, app, opts \\ []) View Source
query_all_from_table(
  map(),
  String.t(),
  [String.t()],
  String.t(),
  nil | String.t(),
  keyword()
) :: {:ok, list()} | {:error, String.t()}

Helper to recurse 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

Link to this function query_table(query, table, return_fields, token, app, opts \\ []) View Source
query_table(
  map(),
  String.t(),
  [String.t()],
  String.t(),
  nil | String.t(),
  keyword()
) :: {:ok, list()} | {:error, String.t()}

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