Infusionsoft.Endpoints.XML.File (Infusionsoft v0.7.0) View Source

Provides the raw endpoints to Infusionsoft's XML API for File actions.

Link to this section Summary

Link to this section Functions

Link to this function

rename_a_file(file_id, file_name, token, app \\ nil)

View Source

Specs

rename_a_file(integer(), String.t(), String.t(), nil | String.t()) ::
  {:ok, integer()} | {:error, String.t()}

https://developer.infusionsoft.com/docs/xml-rpc/#file-rename-a-file

Link to this function

replace_a_file(file_id, base_64_encoded_data, token, app \\ nil)

View Source

Specs

replace_a_file(integer(), String.t(), String.t(), nil | String.t()) ::
  {:ok, integer()} | {:error, String.t()}

https://developer.infusionsoft.com/docs/xml-rpc/#file-replace-a-file

Link to this function

retrieve_a_file(file_id, token, app \\ nil)

View Source

Specs

retrieve_a_file(integer(), String.t(), nil | String.t()) ::
  {:ok, String.t()} | {:error, String.t()}

https://developer.infusionsoft.com/docs/xml-rpc/#file-retrieve-a-file

Link to this function

retrieve_download_url(file_id, token, app \\ nil)

View Source

Specs

retrieve_download_url(integer(), String.t(), nil | String.t()) ::
  {:ok, String.t()} | {:error, String.t()}

https://developer.infusionsoft.com/docs/xml-rpc/#file-retrieve-a-file-download-url

Link to this function

upload_a_file(contact_id, file_name, base_64_encoded_data, token, app \\ nil)

View Source

Specs

upload_a_file(integer(), String.t(), String.t(), String.t(), nil | String.t()) ::
  {:ok, integer()} | {:error, String.t()}

https://developer.infusionsoft.com/docs/xml-rpc/#file-upload-a-file