Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API on Dimension Week/Month/Year don't work on CustomVariables.getCustomVariablesValuesFromNameId #7272

Closed
approached opened this issue Feb 23, 2015 · 1 comment
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@approached
Copy link

Hi@all,

i tried to use Dimension Week/Month/Year on CustomVariables.getCustomVariablesValuesFromNameId but it still don't works. I have every time response with empty arrays.

Request URL:
http://exmaple.com/index.php?module=API&method=CustomVariables.getCustomVariablesValuesFromNameId&token_auth=MYTOKEN&idSite=1&period=year&format=json&language=de&idSubtable=2&segment=customVariablePageValue1%3D%3D7&date=2014-02-22,2015-02-22

Only dimension day work it.

@mattab
Copy link
Member

mattab commented Feb 23, 2015

Hi @approached if you use idSubtable then you must first call the CustomVariables.getCustomVariables for week or month etc. and then call CustomVariables.getCustomVariablesValuesFromNameId - the idSubtable will be different for day VS week VS month etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants