Get segment size
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 data format
Request data format
Request URL parameters:
Examples:
https://api.esv2.com/v2/Api/GetSegmentSize?apikey=YOUR_API_KEY_HERE&id=SEGMENT_ID
Response
Response
Response Data element:
Examples
Examples
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>