none
Add yourself to task via REST API

    Pertanyaan

  • Hi 

    I am trying to add the Task from project (Assigning task to my self) in timesheet via REST API. Below is my payload for the same:

    {'parameters':{'Comment':'Added by Resource via API','ProjectId':'456d7ef0-9c52-e711-80d5-00155d203723','Task':{'ParentId':'8a781a4a-5b2e-44c6-874e-e609b47bec38','Start':'2018-01-01','Finish':'2018-12-12','Id':'45ce2247-85b5-45bc-95e7-a2431e5e9cfb','Name':'TasskName'}}}

    and My API is

    _api/ProjectServer/EnterpriseResources('b3c3d3b4-934d-e811-80cf-00155dc04c14')/Assignments/Add

    Above API is working and adding the line into the timesheet but throws an unknown error. Any idea why is that happening.


    Thanks, Parth

    Kamis, 02 Agustus 2018 05.47