Database.com REST API Developer's Guide - Salesforce.com
Database.com REST API Developer's Guide - Salesforce.com
Database.com REST API Developer's Guide - Salesforce.com
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Using <strong>REST</strong> <strong>API</strong> ResourcesGet a List of Process Rules"instanceStatus" : "Pending","newWorkitemIds" : [ "04iD0000000Cw6wIAC" ],"success" : true} ]Get a List of Process RulesUse the Process Rules resource to get information about process rules.Example usagecurl https://na1.salesforce.<strong>com</strong>/services/data/v30.0/process/rules/ -H "Authorization:Bearer token"Example request bodynone requiredExample JSON response body{}"rules" : {"Account" : [ {"actions" : [ {"id" : "01VD0000000D2w7","name" : "ApprovalProcessTask","type" : "Task"} ],"description" : null,"id" : "01QD0000000APli","name" : "My Rule","namespacePrefix" : null,"object" : "Account"} ]}Get a Particular Process RuleUse the Process Rules resource and specify theSObjectName and workflowRuleId of the rule you want to get the metadatafor.Example usagecurl https://na1.salesforce.<strong>com</strong>/services/data/v30.0/process/rules/Account/01QD0000000APli-H "Authorization: Bearer token"Example request bodynone requiredExample JSON response body{51