API to Retrieve Individual Resource Work Status

Comments

5 comments

  • Avatar
    Daniel Heller

    Wes,,

    This appears to work for one task.  Is there a way to return the value for all tasks and resources in one pull?

    Thanks...Dan

    0
    Comment actions Permalink
  • Avatar
    Daniel Heller

    I noticed under the "Task" model, it contains search criteria for "isShowAllSummaryAndRegularTasks".  Can this criteria be incorporated into the "Task-Resource" model?  If the return data set is too large, maybe a date range could also be included.

    Thanks...Dan

    0
    Comment actions Permalink
  • Avatar
    Wes Kliewer

    For all of the people assigned you can use this:

    ?modelProperties=default,WorkPercentCompleteType,TaskResources;TaskResource:default,User

    That provides the additional non default parameters for WorkStatus and then the people assigned, plus the User property for all of the assignments.

    There might be a better way to replicate the data in the Task Resource Report if that report looks more in line with what you want, splitting each task multiple times equal to the number of people assigned.We have requested a new API for a future release that could be better if the above method doesn't provide the data the way you need it.

    0
    Comment actions Permalink
  • Avatar
    Wes Kliewer

    The following is a better example for the complete API path using a date filter example to test your data with a limited set of results.

    /api/task/search?StartDateLocal=11/3/2019&EndDateLocal=12/07/2019&modelProperties=default,WorkPercentCompleteType,TaskResources;TaskResource:default,User

    0
    Comment actions Permalink
  • Avatar
    Daniel Heller

    After doing further discovery on this, the statement you provided in your last post only gets the overall task status, not the individual task resource status on each task.  That being said, I will have to wait until the release of the API update to the Task-Resource model.

    Keep me posted as to when this will be available.

    Thanks...Dan

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk