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.