Repliconnect Gen2 API: Get timesheets filtered by user, project, and date range

  • 1
  • Question
  • Updated 11 months ago
  • Acknowledged
  • (Edited)
Hi, i'm trying to use Repliconnect Gen2 API to get all timesheets for a given user, project, and date range.
According to the docs, it appears that the TimesheetByArguments query is i want.
However, using that query via

{
"Action": "Query", "Args": [ { "__type": "Replicon.Domain.User", "Identity": "30" }, { "Year": 2017, "Month": 10, "__type": "Date", "Day": 20 }, { "Year": 2017, "Month": 11, "__type": "Date", "Day": 20 }, null, null, true, null, { "__type": "Replicon.Project.Domain.Project", "Identity": "1155" }, null, [], [], [] ], "DomainType": "Replicon.TimeSheet.Domain.Timesheet", "Load": [ { "Load": [ { "Relationship": "Cells" } ], "Relationship": "TimeRows" } ], "QueryType": "TimesheetByArguments" },

i get timesheet cells for other projects too.
What is a correct and short way to retrieve the data i want through the API?
Photo of Raichev, Alex

Raichev, Alex

  • 2 Posts
  • 0 Reply Likes

Posted 11 months ago

  • 1
Photo of Aashnee Kamboj

Aashnee Kamboj, Community Moderator

  • 1560 Posts
  • 108 Reply Likes
Hi Alex,

Thank you for using the Replicon Community!

We will have our Replicon Support reach out to you regarding the same.

Thanks,
Aashnee
Photo of Raichev, Alex

Raichev, Alex

  • 2 Posts
  • 0 Reply Likes
Thanks. Can you ask support to please post their answer here too for other users to see?