Working with Records using REST API Salesforce

Working with Records using REST API Salesforce

Sample Requests using Workbench:


Inserting Data Through REST API 

URL – /services/data/v20.0/sobjects/Employee__c/

Request Body:

{
“Employee__c”:”Test”,
“Age__c”:19
}

View Data Through REST API with Specified Fields

/services/data/v20.0/sobjects/Employee__c/a00f200000Tfgpq?fields=Name,Employee_Name__c,Age__c
View Data Through REST API 

URL – /services/data/v20.0/sobjects/Employee__c/a00f200000TfgpqAAB

Leave a Reply