We are trying to write C# to List all Task Groups under another Task Group but it is retreiving null. However it does show task groups for a given task list.
Below is the code we are currently using and attached is our Task Group Layout:
ListTaskGroupsRequest listreq = new ListTaskGroupsRequest();
listreq.OTAuthentication = otAuth;
listreq.ID = 10943170;// 10942620;// 10942620;// 10941190;// sourcepath;
ListTaskGroupsResponse listresp =collproxy.ListTaskGroups(listreq);
If the listreq.ID is a nodeid for a TaskGroup the method returns null in the listresp.ListTaskGroupsResult TaskInfo[].
If the listreq.ID is a nodeid for a TaskList the method returns all TaskGroup children in the listresp.ListTaskGroupsResult TaskInfo[].
I appreciate any advice you have.
Thanks,
Daniel Rose