You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ConstantContact/V3/Contacts.php
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,12 @@ public function __construct(\PHPFUI\ConstantContact\Client $client)
17
17
* Use this method to return a collection of contacts. Use the query parameters
18
18
* to search for contacts that match specific criteria. For example, you
19
19
* can search by the contact's `email` address, `status`, `lists` memberships,
20
-
* `segment_id`, `tags`, `notes` and `updated_after` date. Use the `limit`
21
-
* query parameter to limit the number of results returned per page. Use
22
-
* the `include` query parameter to include contact sub-resources in the
23
-
* response and `include_count` to include the total number of contacts
24
-
* that meet your specified search criteria.
20
+
* `segment_id`, `tags`, `notes`, and by the date or date range that a
21
+
* contact was created or updated. Use the `limit` query parameter to limit
22
+
* the number of results returned per page. Use the `include` query parameter
23
+
* to include contact sub-resources in the response and `include_count`
24
+
* to include the total number of contacts that meet your specified search
25
+
* criteria.
25
26
*
26
27
* By default, this method returns all contacts that are not deleted. Use
27
28
* the `status` query parameter with the value `all` to return all contacts
@@ -32,12 +33,15 @@ public function __construct(\PHPFUI\ConstantContact\Client $client)
32
33
* @param string $lists Use the `lists` query parameter to search for contacts that are members of one or more specified lists. Use a comma to separate multiple `list_id` values, up to a maximum of 25.
33
34
* @param string $segment_id Use to get contacts that meet the segment criteria for a single specified `segment_id`. This query parameter can only be combined with the limit query parameter. When using the `segment_id` query parameter, the V3 API may return a 202 response code instead of a 200 response. The 202 response code indicates that your request has been accepted, but not fully completed. Retry sending your API request to return the completed results and a 200 response code.
34
35
* @param string $tags Use to get contact details for up to 50 specified tags. Use a comma to separate each `tag_id`.
35
-
* @param string $updated_after Use `updated_after` to search for contacts that have been updated after the date you specify; accepts ISO-8601 formatted dates.
36
+
* @param string $updated_after Use `updated_after` to search for contacts that have been updated after the date you specify. To search for updated contacts within a date range, specify both `updated_after` and `updated_before` dates. Accepts ISO-8601 formatted dates.
37
+
* @param string $updated_before Use `updated_before` to search for contacts that have been updated before a specified date. To search for updated contacts within a date range, specify both `updated_after` and `updated_before` dates. Accepts ISO-8601 formatted dates.
38
+
* @param string $created_after Use `created_after` to search for contacts created after a specified date. To search for contacts created within a date range, specify both `created_after` and `created_before` dates. Accepts ISO-8601 formatted dates.
39
+
* @param string $created_before Use `created_before` to search for contacts created before a specified date. To search for contacts created within a date range, specify both `created_after` and `created_before` dates. Accepts ISO-8601 formatted dates.
36
40
* @param string $include Use `include` to specify which contact sub-resources to include in the response. Use a comma to separate multiple sub-resources. Valid values: `custom_fields`, `list_memberships`, `taggings`, `notes`,`phone_numbers`, `street_addresses`.
37
41
* @param bool $include_count Set `include_count=true` to include the total number of contacts (`contacts_count`) that meet all search criteria in the response body.
38
42
* @param int $limit Specifies the number of results displayed per page of output in the response, from 1 - 500, default = 50.
0 commit comments