Adding Objects to Standard Resources
Supports the following resources : accounts, transactions, activities and contacts
Coming Soon (CPI V 16.0)
Adding a Single Object
Example:
pepperi.app.<resource name>.add({
type: { InternalID: 1234 , Name : "Sales Order"} ,
references: { account: { UUID: "" } }, // Optional: {originAccount: { UUID: "" } // Optional: {catalog: { UUID: "" }
object: {GrandTotal: 567.5 ,TSASubject:"This Object was created with the client api"}
})
Returns:
{
"success": true,
"id": "6e2803cd-b656-4d4f-8d21-f7cee7167350",
"status": "added",
"message": ""
}
Last updated
Was this helpful?