View Source Influitive.References (influitive v0.1.2)

Documentation for Influitive.References.

Summary

Functions

Get Reference Completions

Create/Update/Complete Reference Challenges

Log Reference Type Events

Types

@type success_or_error() :: {:ok, map()} | {:error, any()}

Functions

Link to this function

completions(cursor \\ "")

View Source
@spec completions(String.t()) :: success_or_error()

Get Reference Completions

Link to this function

create_or_update(params)

View Source
@spec create_or_update(map()) :: success_or_error()

Create/Update/Complete Reference Challenges

Note: Members/Advocates is an array of the people to whom you would like to target this challenge. If provided you must supply either a salesforce id, the email of the member, or an Influitive ID.

Note: Prospect/Account is the person, company, account etc. that this reference is for. To accurately track references, passing an external_id or email will match these requests with existing prospects in our system. Omitting these values will create NEW challenges for every request.

Note: Please use only account OR prospect and member OR advocates

@spec log_events(map()) :: success_or_error()

Log Reference Type Events