Liking cljdoc? Tell your friends :D

erpnext-client.core


auth-cookiesclj

source

configclj

source

erp-delete!clj

(erp-delete! doctype name)

Sends a DELETE request, expects a document name

Sends a DELETE request, expects a document name
sourceraw docstring

erp-delete-all!clj

(erp-delete-all! doctype)

Deletes ALL the documents of a given doctype

Deletes ALL the documents of a given doctype
sourceraw docstring

erp-getclj

(erp-get doctype params)

Sends a GET request and returns the content of 'data'

Sends a GET request and returns the content of 'data'
sourceraw docstring

erp-get-by-nameclj

(erp-get-by-name doctype name)

Returns a complete document by its unique name

Returns a complete document by its unique name
sourceraw docstring

erp-get1clj

(erp-get1 doctype params)

Returns the first item according to the filters

Returns the first item according to the filters
sourceraw docstring

erp-login->cookiesclj

(erp-login->cookies user password)

Execute a login into the ERPNext server, returns the cookies in case of success

Execute a login into the ERPNext server, returns the cookies in case of success
sourceraw docstring

erp-post!clj

(erp-post! doctype body)

Sends a POST request (create), accepts a map as request body

Sends a POST request (create), accepts a map as request body
sourceraw docstring

erp-put!clj

(erp-put! doctype name body)

Sends a PUT request (update), accepts a map as request body

Sends a PUT request (update), accepts a map as request body
sourceraw docstring

erp-rpc-post!clj

(erp-rpc-post! method body)

Sends an RPC action request. Accepts a map as request body

Sends an RPC action request. Accepts a map as request body
sourceraw docstring

erp-submit-document!clj

(erp-submit-document! doctype name)

Submits a document by providing its doctype and name

Submits a document by providing its doctype and name
sourceraw docstring

format-parameter-mapclj

(format-parameter-map m)

Transforms map values into json. Used to serialize filters, fields and other URL parameters

Transforms map values into json.
Used to serialize filters, fields and other URL parameters
sourceraw docstring

login!clj

(login! server user password)

Calls remote login and stores the base url and authentication cookies into the local atoms

Calls remote login and stores the base url
and authentication cookies into the local atoms
sourceraw docstring

make-app-urlclj

(make-app-url doctype name)

Builds an ERPNext URL for application links

Builds an ERPNext URL for application links
sourceraw docstring

make-urlclj

(make-url doctype)
(make-url doctype name)

Builds an ERPNext URL for REST API

Builds an ERPNext URL for REST API
sourceraw docstring

response->dataclj

(response->data response)

Extracts the 'data' object from a response body

Extracts the 'data' object from a response body
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close