Skip to main content

template@3.0.1

create

create(resource, data, callback) ⇒ Operation Create some resource in some system

Kind: global function
Access: public

ParamTypeDescription
resourcestringThe type of entity that will be created
dataobjectThe data to create the new resource
callbackfunctionAn optional callback function

Example

create("patient", {"name": "Bukayo"})