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.

<strong>REST</strong> <strong>API</strong> REFERENCEChapter 7ReferenceThe following table lists supported <strong>REST</strong> resources in the <strong>API</strong> and provides a brief description for each. In each case, theURI for the resource follows the base URI, which you retrieve from the authentication service:http://domain/services/data. domain might be the <strong>Database</strong>.<strong>com</strong> instance you are using, or a custom domain.Thedomain is returned as part of the Authentication response, or via the Console at Domain Management > My Domain. Forexample, to retrieve basic information about a Widget custom object in version 20.0:http://na1.salesforce.<strong>com</strong>/services/data/v20.0/sobjects/Widget__c/.Click a call name to see syntax, usage, and more information for that call.Resource NameVersionsResources byVersionLimitsDescribe GlobalSObject BasicInformationSObject DescribeURI//vXX.X//vXX.X/limits//vXX.X/sobjects//vXX.X/sobjects/SObject//vXX.X/sobjects/SObject/describe/DescriptionLists summary information about each<strong>Database</strong>.<strong>com</strong> version currently available,including the version, label, and a link to eachversion's root.Lists available resources for the specified <strong>API</strong>version, including resource name and URI.Lists information about limits in yourorganization.Lists the available objects and their metadata foryour organization's data.Describes the individual metadata for thespecified object. Can also be used to create anew record for a given object.Completely describes the individual metadataat all levels for the specified object.SObject GetDeletedSObject GetUpdated/vXX.X/sobjects/SObject/deleted/?start=startDateAndTime&end=endDateAndTime/vXX.X/sobjects/SObject/updated/?start=startDateAndTime&end=endDateAndTimeRetrieves the list of individual records that havebeen deleted within the given timespan for thespecified object.Retrieves the list of individual records that havebeen updated (added or changed) within thegiven timespan for the specified object.53

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

Saved successfully!

Ooh no, something went wrong!