API Documentation V2
Using this method you can retrieve a size (number of subscribers) of a particular segment. The response contains also a date of last segment recalculation.
Request URL parameters:
Examples:
https://api.esv2.com/v2/Api/GetSegmentSize?apikey=YOUR_API_KEY_HERE&id=SEGMENT_ID
Response Data element:
Request:
GET https://api.esv2.com/v2/Api/GetSegmentSize?apikey=YOUR_API_KEY_HERE&id=SEGMENT_ID HTTP/1.1
Response:
<ApiResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Data>
<Size>3384047</Size>
<CountDate>2016-12-08T12:37:23.0784944Z</CountDate>
</Data>
</ApiResponse>