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 RowsAuthenticationAuthorization: Bearer tokenParametersParameterstartendDescriptionStarting date/time (Coordinated Universal Time (UTC) time zone—not local—timezone) of the timespan for which to retrieve the data. The <strong>API</strong> ignores theseconds portion of the specified dateTime value (for example, 12:30:15 isinterpreted as 12:30:00 UTC). The date and time should be provided in ISO8601 format: YYYY-MM-DDThh:mm:ss+hh:mm. The date/time value for startmust chronologically precede end. This parameter should be URL-encodedEnding date/time (Coordinated Universal Time (UTC) time zone—not local—timezone) of the timespan for which to retrieve the data. The <strong>API</strong> ignores theseconds portion of the specified dateTime value (for example, 12:35:15 isinterpreted as 12:35:00 UTC). The date and time should be provided in ISO8601 format: YYYY-MM-DDThh:mm:ss+hh:mm. This parameter should beURL-encodedResponse formatPropertyidslatestDateCoveredTypearrayStringDescriptionArray of updated records that satisfy the start and end dates specifiedin the request. Each entry contains the record ID.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 updated deleted items, see Get a List of Updated Records Within a Given Timeframeon page 41.SObject RowsAccesses records based on the specified object ID. Retrieves, updates, or deletes records. This resource can also be used toretrieve field values. Use the GET method to retrieve records or fields, the DELETE method to delete records, and thePATCH method to update records.To create new records, use the SObject Basic Information resource.URIFormats/vXX.X/sobjects/SObjectName/id/JSON, XMLHTTP MethodGET, PATCH, DELETE60

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

Saved successfully!

Ooh no, something went wrong!