DARequest
All the exposed functions/methods in Data Access API take DARequest as input, which contains all the required information for a successful execution. The following table provides the properties that are available and its usage.
Property Name
Data Type
Data Flow
Description
UserName
String
Input
The Laptop application login user name (SFDC login).
APIKey
String
Input
Unique API key generated via offline application.
ObjectName
String
Input
Object name from which the CRUD operation will be executed.
FieldNames
ArrayList of FieldData object
Input
ArrayList with FieldData objects as its items. FieldData object holds the field information required for CRUD operation.
Criteria
ArrayList of CriteriaData object
Input
ArrayList of CriteriaData objects as its items. CriteriaData object holds the criteria information required for CRUD operation.
AdvancedExpression
String
Input
Order and condition criteria (SQL Operators).
OrderBy
String
Input
Order by field names for query execution.
DAResponse
DAResponse object
Output
Object holding the response returned by the executed API function/method.
Source Location
String
Input
Location of file to be attached when object is Attachment and operation is Insert.
Destination Location
String
Input
Location where file to be copied when the object is Attachment and operation is executeQuery.
Reference Object Name
String
Input
Reference object name from which the object Attachment is called.
Response
String
Output
It contains all the responses in JSON format.
mandatoryCheckDisabled
Bool
Input
Disables mandatory check for Insert / Update Operation if set to ‘true.’
Was this helpful?