How to get Scheduled Absence information using Java APIS in RTC?
We want to get scheduled information for computing a member’s working time in a team.
Some works have been done to get the members in the team.
The procedure is:
1.Get Services Provider catalog (https://igartc03.swg.usma.ibm.com/jazz/oslc-scm/catalog)from root service(https://igartc03.swg.usma.ibm.com/jazz/rootservices)
2.Get specific service provider (CVT DSW) from services providers catalog
3.In this service provider, we enter into the team areas and get all members in every team.
4.We try to choose one member as an example to get the scheduled absence, but we failed.
The member’s information is displayed as followed:
Member’s Scheduled Absences information is displayed as followed:
Our question is how can we get the information saved in the Scheduled Absences when we get he page of member’s information, or is it possible to access Scheduled Absences using the Java APIs. We have looked for this many times, but we haven’t yet!
Thanks in advanced!
|
2 answers
Why not using REST? https://clm.mydom.com/ccm/rpt/repository/apt?fields=apt/contributorAbsence[contributor/userId=myusername]/(summary|startDate|endDate)&size=1000
You can also filter there with startDate and endDate
https://clm.mydom.com/ccm/rpt/repository/apt?fields=apt/contributorAbsence[contributor/userId=myusername and startDate > 2013-04-30T22:00:00.000%2B0200]/(summary|startDate|endDate)&size=1000Refer to following Wiki Page for more information and some examples (at the end) about how to build queries in the reportable RESTAPI https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#Resources_provided_by_RTC |
Hi,Guildo. Thank you very much for answering the questions for us. But we can’t build a link to the URL that you gave. Can you explain every part in the URL in details for us? Besides, we use RESTClient ( Mozilla Add-ons) to get the member’s information. Can you help us? Comments
Guido Schneider
commented May 08 '13, 12:37 p.m.
what's the result?
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.