Updating Standard resources

Update multiple objects by unique keys

Returns an updated list
Only UUID is currently supported as a key
Supported resources: accounts, transactions, activities, transactionLines.
from CPI 15.85 supports also : contacts.
Example:
1
pepperi.api.activities.update(
2
{objects: [
3
{UUID: "tgfb523e-74ac-4041-8bb1-a76a3b5e78f5" , TSAMyComment: "ABC" },
4
{UUID: "aefb523e-74ac-4041-8bb1-a76a3b5e78h6" , TSAMyComment: "DEF"}
5
]})
Copied!
Returns a response object with the list of updated objects as following:
1
{
2
success: true,
3
result:
4
[
5
{id:"tgfb523e-74ac-4041-8bb1-a76a3b5e78f5",messsage:"",status:"updated"},
6
{id:"aefb523e-74ac-4041-8bb1-a76a3b5e78h6",messsage:"",status:"updated"}
7
]
8
9
}
Copied!
Last modified 3mo ago
Copy link