13.07.2015 Views

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

SHOW MORE
SHOW LESS
  • 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.

ReferenceSObject CompactLayoutsGetting the approval layout for a particular approval processcurlhttps://na1.salesforce.<strong>com</strong>/services/data/v30.0/sobjects/Account/describe/approvalLayouts/MyApprovalProcessName-H "Authorization: Bearer token"Example JSON Response body{}"approvalLayouts" : [ {"id" : "04aD00000008Py9IAE","label" : "MyApprovalProcessName","layoutItems" : [...],"name" : "MyApprovalProcessName"} ]SObject CompactLayoutsReturns a list of <strong>com</strong>pact layouts for a specific object. This resource is available in <strong>REST</strong> <strong>API</strong> version 29.0 and later.SyntaxURIFor a <strong>com</strong>pact layout description for a specific object, use /vXX.X/sobjects/Object/describe/<strong>com</strong>pactLayouts/FormatsJSON, XMLHTTP methodsHEAD, GETAuthenticationAuthorization: Bearer tokenRequest parametersNone requiredExampleGetting <strong>com</strong>pact layoutscurlhttps://na1.salesforce.<strong>com</strong>/services/data/v29.0/sobjects/Object/describe/<strong>com</strong>pactLayouts/-H "Authorization: Bearer token"Example JSON Response body{"<strong>com</strong>pactLayouts" : [ ],"defaultCompactLayoutId" : "0AH000000000000GAA","recordTypeCompactLayoutMappings" : [ {"recordTypeId" : "012000000000000AAA","<strong>com</strong>pactLayoutId" : "Compact Layout ID"63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!