You are here

public function RestClientInterface::getUpdated in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getUpdated()
  2. 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getUpdated()

Return a list of SFIDs for the given object for the given timeframe.

Parameters

string $name: Object type name, E.g., Contact, Account.

int $start: Unix timestamp for older timeframe for updates. Defaults to "-29 days" if empty.

int $end: Unix timestamp for end of timeframe for updates. Defaults to now.

Return value

array return array has 2 indexes: "ids": a list of SFIDs of those records which have been created or updated in the given timeframe. "latestDateCovered": ISO 8601 format timestamp (UTC) of the last date covered in the request.

See also

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest...

1 method overrides RestClientInterface::getUpdated()
RestClient::getUpdated in src/Rest/RestClient.php
Return a list of SFIDs for the given object for the given timeframe.

File

src/Rest/RestClientInterface.php, line 364

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function getUpdated($name, $start = NULL, $end = NULL);