This module provides functions for listing and retrieving e-signature bulk resources in the Humaans API. Esign bulks are read-only via the API.
Summary
Types
Functions
@spec list(client :: map(), params :: map() | keyword() | [{String.t(), term()}]) :: {:ok, [Humaans.Resources.EsignBulk.t()]} | {:error, Humaans.Error.t()}
Lists all esign_bulks.
Returns a list of esign_bulks matching the optional filter params.
Parameters
client- Client created withHumaans.new/1params- Optional map of filter parameters (default:%{})
Examples
client = Humaans.new(access_token: "your_access_token")
{:ok, esign_bulks} = Humaans.EsignBulks.list(client)
{:ok, esign_bulks} = Humaans.EsignBulks.list(client, %{})
@spec retrieve(client :: map(), id :: String.t()) :: {:ok, Humaans.Resources.EsignBulk.t()} | {:error, Humaans.Error.t()}
Retrieves a specific esign_bulk by ID.
Parameters
client- Client created withHumaans.new/1id- String ID of the esign_bulk to retrieve
Examples
client = Humaans.new(access_token: "your_access_token")
{:ok, esign_bulk} = Humaans.EsignBulks.retrieve(client, "esign_bulk_id")