POST api/Stats/Plateform_Distribution_Of_Posts_For_Company
Get percentage of plateform distribution for all posts of target Company, if no company is target => get Caller Company, if no date From set => From Date = creationdate of target company, if no date To set => To Date = DateTime.Now, if no postTypeId set => PostTypeId = News
Request Information
URI Parameters
None.
Body Parameters
StatCollectorDataName | Description | Type | Additional information |
---|---|---|---|
FromDate |
Starting date of period to get the stats |
date |
None. |
ToDate |
Ending date of period to get the stats |
date |
None. |
TargetCompanyId |
Target Company Id to get the stats |
integer |
None. |
PostTypeId |
Target postType Id to get the stats |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FromDate": "2025-08-04T12:54:44.068684+00:00", "ToDate": "2025-08-04T12:54:44.068684+00:00", "TargetCompanyId": 1, "PostTypeId": 1 }
application/xml, text/xml
Sample:
<StatCollectorData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.StatClasses"> <FromDate>2025-08-04T12:54:44.068684+00:00</FromDate> <PostTypeId>1</PostTypeId> <TargetCompanyId>1</TargetCompanyId> <ToDate>2025-08-04T12:54:44.068684+00:00</ToDate> </StatCollectorData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.