(all-versions)
Lists all available versions of the Salesforce REST API
Lists all available versions of the Salesforce REST API
(auth! {:keys [client-id client-secret username password security-token sandbox?
sandbox-url]})
Get security token and auth info from Salesforce config is a map in the form
Get security token and auth info from Salesforce config is a map in the form - client-id ID - client-secret SECRET - username USERNAME - password PASSWORD - security-token TOKEN - sandbox? IS_SANDBOX - sandbox-url URL
(conf f)
(latest-version)
What is the latest API version?
What is the latest API version?
Memoized latest-version, used by (with-latest-version) macro
Memoized latest-version, used by (with-latest-version) macro
(read-limit-info)
Deref the value of the limit-info
atom which is
updated with each call to the API. Returns a map,
containing the used and available API call counts:
{:used 11 :available 15000}
Deref the value of the `limit-info` atom which is updated with each call to the API. Returns a map, containing the used and available API call counts: {:used 11 :available 15000}
(resources token)
(set-version! v)
(so->all sobject token)
All sobjects i.e (so->all "Account" auth-info)
All sobjects i.e (so->all "Account" auth-info)
(so->delete sobject identifier token)
Delete a record
Delete a record - sojbect the name of the object i.e Account - identifier the object id - token your api auth info
(so->flow identifier token & [data])
Invoke a flow (see: https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_distribute_system_rest.htm)
Invoke a flow (see: https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_distribute_system_rest.htm) - indentifier of flow (e.g. "Escalate_to_Case") - inputs map (e.g. {:inputs [{"CommentCount" 6 "FeedItemId" "0D5D0000000cfMY"}]}) - token to your api auth info
(so->get sobject identifier token)
(so->get sobject identifier fields token)
Fetch a single SObject or passing in a vector of attributes return a subset of the data
Fetch a single SObject or passing in a vector of attributes return a subset of the data
(so->objects token)
Lists all of the available sobjects
Lists all of the available sobjects
(so->recent sobject token)
The recently created items under an sobject identifier e.g (so->recent "Account" auth-info)
The recently created items under an sobject identifier e.g (so->recent "Account" auth-info)
(so->update sobject identifier record token)
Update a record
Update a record - sojbect the name of the object i.e Account - identifier the object id - record map of data to update object with - token your api auth info
(soql query token)
Executes an arbitrary SOQL query i.e SELECT name from Account
Executes an arbitrary SOQL query i.e SELECT name from Account
(with-latest-version & forms)
(with-token token & forms)
(with-version v & forms)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close