- DarkLight
Update Object
- DarkLight
Overview
This method is used to update Salesforce object value. The variables sent in this API should have a corresponding mapping in Salesforce Admin rules (Manual Log section).
Pre-requisite
The application registration must be completed.
Sequence Diagram

Message Structure
Request Parameters | Value |
|---|---|
channel | Salesforce |
topic | Call |
subtopic | UpdateObject |
source | «Source Application Name» |
data | «JSON Object» |
Data Parameters
Parameter | Data Type | Description | Sample Value |
|---|---|---|---|
callid | String | The Call ID against which the object is created. | 12345 |
Name | String | The Salesforce object type. | Case |
OId | String | The Acqueon Workspace object identifier. | SF2 |
sfid | String | The Salesforce object identifier. | 507F00u6VNgQAM |
params | JSON Object | Parameters updated in Salesforce object. |
Response Parameters | Value |
|---|---|
channel | Salesforce |
topic | Call |
subtopic | UpdateObject |
source | «JSON Object» |
Response Data Parameters
Parameter | Data Type | Description | Sample Value |
|---|---|---|---|
callid | String | Call ID for which you want to remove variables | 12345 |
Name | String | The Salesforce object type. | Case |
OId | String | The Acqueon Workspace object identifier. | SF2 |
sfid | String | The Salesforce object identifier. | 507F00u6VNgQAM |
Success | Boolean | Indicates if the method returned a response successfully | True |
ErrorMessage | String | Error message in case of failure response. | Null |
isManual | Boolean | Indicates if the update is manual or automatic. | True |
Sample Request
{
"channel": "Salesforce",
"topic": "Call",
"subtopic": "UpdateObject",
"source": "myapp",
"data":
{
"callId": "12345",
"Name": "Case",
"OId": "SF2",
"sfid": "5007F00000u6VNgQAM",
"params":
{
"variable1": "value 1",
"variable2": "value 2"
}
}
}Sample Response
Response data also contains the fields updated in the Salesforce object.
{ "channel": "Salesforce",
"topic": "Call",
"subtopic": "UpdateObject",
"data":
{
"callId": "12345",
"Name": "Case",
"OId": "SF2",
"sfid": "5007F00000u6VNgQAM",
"Success": true,
"ErrorMessage": null,
"isManual": true
}
}