View Source ExPipedrive.Notes (ex_pipedrive v0.1.0)

API v1 shim for Pipedrive notes.

All functions in this module explicitly route to /api/v1/notes. Prefer the get/2, create/2, and list/2 aliases for new code; add_note/2 and list_notes/2 remain supported for compatibility. A v2 Notes resource can replace this shim without changing callers that use those aliases.

Summary

Functions

Creates a note through POST /api/v1/notes.

Creates a note through POST /api/v1/notes.

Fetches a note by id through GET /api/v1/notes/:id.

Fetches a note by id through GET /api/v1/notes/:id.

Lists notes through GET /api/v1/notes.

Lists notes through GET /api/v1/notes.

Functions

Creates a note through POST /api/v1/notes.

Creates a note through POST /api/v1/notes.

Accepts a map (preferred) or %Note{} and returns {:ok, %Note{}}.

Fetches a note by id through GET /api/v1/notes/:id.

Link to this function

get_all_org_notes(client, org_id, opts \\ [])

View Source
Link to this function

get_note(client, note_id)

View Source

Fetches a note by id through GET /api/v1/notes/:id.

Link to this function

list(client, opts \\ [])

View Source

Lists notes through GET /api/v1/notes.

Supports the legacy v1 pagination and filtering options accepted by list_notes/2.

Link to this function

list_notes(client, opts \\ [])

View Source

Lists notes through GET /api/v1/notes.