import { CrmNotesUpdateRequest } from "@apideck/unify/models/operations";
let value: CrmNotesUpdateRequest = {
id: "<id>",
serviceId: "salesforce",
note: {
title: "Meeting Notes",
content: "Office hours are 9AM-6PM",
ownerId: "12345",
contactId: "12345",
companyId: "12345",
opportunityId: "12345",
activityId: "12345",
leadId: "12345",
active: true,
passThrough: [
{
serviceId: "<id>",
extendPaths: [
{
path: "$.nested.property",
value: {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
],
},
};
| Field |
Type |
Required |
Description |
Example |
id |
string |
✔️ |
ID of the record you are acting upon. |
|
consumerId |
string |
➖ |
ID of the consumer which you want to get or push data from |
test-consumer |
appId |
string |
➖ |
The ID of your Unify application |
dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
serviceId |
string |
➖ |
Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. |
salesforce |
raw |
boolean |
➖ |
Include raw response. Mostly used for debugging purposes |
|
note |
components.NoteInput |
✔️ |
N/A |
|