SOLVED CPANEL-22208/22209 records parameter not working with emailtrack_stats

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,254
313
Houston
Hi @rdgonzalez

I did some testing with these and found that I was able to replicate the issue you're experiencing. I have opened two separate internal cases (one for each function) CPANEL-22208 and CPANEL-22209 to have this issue addressed. As soon as I have more information on the status of these cases I will update you here.


Thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,254
313
Houston
Hi @rdgonzalez


While it's not resolved yet I can tell you it looks like there won't be a change to the API but rather the documentation.

The documentation changes are going to be as follows:
For emailtrack_user_stats - This API call doesn't take any parameters that limit data to only certain email addresses. Therefore the records parameter should not be documented and it will be removed from the documentation

For emailtrack_stats - This API call is misdocumented. It should take the user parameter (referring to the cPanel user to limit data to), not the recordsparameter. There doesn't appear to be a way to limit the email addresses for this API call.

Thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,254
313
Houston

asanchezmx

Registered
Aug 30, 2019
1
0
1
Mexico
cPanel Access Level
Root Administrator
Hi All, bringing up this again:
For WHM API 1 the function emailtrack_user_stats is not working with the parameters specified on the documentation WHM API 1 Functions - emailtrack_user_stats - Developer Documentation - cPanel Documentation

Currently has the info related to a "records" parameter
1567208018683.png

but on API is retrieving all the accounts stats like if the recors parameter wasnt defined at all

1567208126894.png

Currently have WHM V82.0.11
Any clue or workaround to consult stats by mail account?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,254
313
Houston