GetObjectById

This method is used to fetch one specific record for the specific Salesforce Object like Contact or Opportunity

Parameters:

MethodInputs

Method Name

GetObjectById

Request Type

GetObjectById

Parameters: ObjectName

Salesforce Object name

e.g. Contact

Parameters: Id

Salesforce Object Id

e.g. 032w000002GFOPAA4

Parameters: FieldNames

One or more fields separated by comma

e.g.Id, FirstName, LastName,Phone

Sample Response:

// Sample Response
[
 {
 "Id": "0032w000002GFOPAA4",
 "FirstName": "Rose",
 "LastName": "Gonzalez",
 "Phone": "(512) 757-6000"
 }
]

Last updated