template@3.0.1
create
create(resource, data, callback) ⇒ Operation
Create some resource in some system
Kind: global function
Access: public
Param | Type | Description |
---|---|---|
resource | string | The type of entity that will be created |
data | object | The data to create the new resource |
callback | function | An optional callback function |
Example
create("patient", {"name": "Bukayo"})