Refreshes the cached count of subscribers for a segment.
JSON Request Example:
"username": "matbt@pinpointe.com",
"usertoken": "XXX",
"requesttype": "Segments",
"requestmethod": "RefreshSegmentCount",
"details": {
"segmentid": "2008"
}"json_request" element
| Field Name | Description |
| username | Username used to login to Pinpointe |
| usertoken | Unique token assigned to Pinpointe account |
| requesttype | Segments |
| requestmethod | RefreshSegmentCount |
"details" element
| Field Name | Description |
| segmentid | Segment ID |
Successful Response:
"response" element
| Field Name | Description |
| status | Will return SUCCESS if segment is found for the user name supplied |
"response"
"data"
"item" element - One will be returned for each segment
| Field Name | Description |
| segmentid | Segment ID |
| previousCount | Previous subscriber count |
| count | Current subscriber count |
| lastCountedAt | The last counted at timestamp |
| refreshed | Has this segment count been refresh or not (true/false) |
Unsuccessful Response:
"response" element
| Field Name | Description |
| status | Will return FAILED when unsuccessful |
| errormessage | Text explaining why request failed |