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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ReferenceSObject Get UpdatedParameterendDescriptionEnding date/time (Coordinated Universal Time (UTC)—not local— timezone)of the timespan for which to retrieve the data. The <strong>API</strong> ignores the secondsportion of the specified dateTime value (for example, 12:35:15 is interpretedas 12:35:00 UTC). The date and time should be provided in ISO 8601 format:YYYY-MM-DDThh:mm:ss+hh:mm. This parameter should be URL-encodedResponse formatPropertydeletedRecordsearliestDateAvailablelatestDateCoveredTypearrayStringStringDescriptionArray of deleted records that satisfy the start and end dates specifiedin the request. Each entry contains the record ID and the date and timethe record was deleted in ISO 8601 format, using Coordinated UniversalTime (UTC) timezone.ISO 8601 format timestamp (Coordinated Universal Time (UTC)—notlocal— timezone) of the last physically deleted object.ISO 8601 format timestamp (Coordinated Universal Time (UTC)—notlocal— time zone) of the last date covered in the request.ExampleFor an example of getting a list of deleted items, see Get a List of Deleted Records Within a Given Timeframe on page40.SObject Get UpdatedRetrieves the list of individual records that have been updated (added or changed) within the given timespan for the specifiedobject. SObject Get Updated is available in <strong>API</strong> version 29.0 and later.This resource is <strong>com</strong>monly used in data replication applications. Note the following considerations:• Results are returned for no more than 30 days previous to the day the call is executed.• Your client application can replicate any objects to which it has sufficient permissions. For example, to replicate all datafor your organization, your client application must be logged in with “View All Data” access rights to the specified object.Similarly, the objects must be within your sharing rules.• There is a limit of 200,000 IDs returned from this resource. If more than 200,000 IDs would be returned,EXCEEDED_ID_LIMIT is returned. You can correct the error by choosing start and end dates that are closer together.See “Data Replication” in the SOAP <strong>API</strong> <strong>Developer's</strong> <strong>Guide</strong> for additional details on data replication and data replication limits.URIFormats/vXX.X/sobjects/SObjectName/updated/?start=startDateAndTime&end=endDateAndTimeJSON, XMLHTTP MethodGET59

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

Saved successfully!

Ooh no, something went wrong!