Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!
If you have some ideas about this question, we hope you to help us .and share whatever you have.
Thanks in advanced!

0 votes



2 answers

Permanent link

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=1000

Refer 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
 

0 votes


Permanent link

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?

0 votes

Comments

what's the result?
can you post your URL which is not working?
What is your URL of RTC?

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: May 06 '13, 8:15 a.m.

Question was seen: 5,134 times

Last updated: May 08 '13, 12:37 p.m.

Confirmation Cancel Confirm