Hello,
First, thank you for giving me access to that great forum. I learned a lot already and expect to improve ![]()
I am a total newbie in using API. This is the first time I (try to) use a personalized one.
I watched tutos and read the documents, but I am stuck on something. I am trying to get a simple weekly report in Google Sheets for a start. According to the docs, only
dateRangeEnd and dateRangeStart should be required.
However, if I don’t put the “group” and “subgroup” in the body I have the error: {“code”:501,“message”:“Both group and subgroup is required”}
I managed to find that the group could be “project” but I have no clue what to put in “subgroup”
I though it was Time entry, but it’s still not working. {“code”:501,“message”:“Invalid sub group name”}
Here’s my body for info:
{
“archived”: false,
“dateFormat”: “2024-11-01”,
“dateRangeEnd”: “2025-01-11T23:59:59.999Z”,
“dateRangeStart”: “2025-01-06T00:00:00Z”,
“dateRangeType”: “LAST_WEEK”,
“description”: “some description keyword”,
“exportType”: “CSV”,
“zoomLevel”: “WEEK”,
“weeklyFilter”: {
“group”: “PROJECT”,
“subgroup”: “TIMEENTRY”
}
}
Anybody has an idea on how I could get unstuck???
Thanks in advance.
