From 4dc4377f349da2d2ec37b04416d0ed2e5fbd7cad Mon Sep 17 00:00:00 2001 From: inbargazit Date: Thu, 22 Feb 2024 12:53:23 -0800 Subject: [PATCH] Fixing the ListEnvelopesService.php example --- src/Services/Examples/eSignature/ListEnvelopesService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Services/Examples/eSignature/ListEnvelopesService.php b/src/Services/Examples/eSignature/ListEnvelopesService.php index 66d1e61..fd706e0 100644 --- a/src/Services/Examples/eSignature/ListEnvelopesService.php +++ b/src/Services/Examples/eSignature/ListEnvelopesService.php @@ -25,12 +25,12 @@ public static function listEnvelopes(array $args, $clientService): EnvelopesInfo # See https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/listStatusChanges # The list status changes call requires at least a from_date OR # a set of envelope_ids. Here we filter using a from_date. - # Here we set the from_date to filter envelopes for the last 10 days + # Here we set the from_date to filter envelopes for the last 30 days # Use ISO 8601 date format #ds-snippet-start:eSign3step2 $envelope_api = $clientService->getEnvelopeApi(); - $from_date = date("c", (time() - (10 * 24 * 60 * 60))); + $from_date = date("c", (time() - (30 * 24 * 60 * 60))); $options = new ListStatusChangesOptions(); $options->setFromDate($from_date); try {