Infusionsoft v0.4.0 Infusionsoft.Endpoints.XML.File View Source

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

Link to this section Summary

Functions

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

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

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

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

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

Link to this section Functions

Link to this function rename_a_file(file_id, file_name, token, app \\ nil) View Source
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
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
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
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
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