How to get Scheduled Absence information using Java APIS in RTC?
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!
If you have some ideas about this question, we hope you to help us .and share whatever you have.
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