It's all about the answers!

Ask a question

Is there REST API for getting resource allocation info?


2
1
Timur Markunin (6495160144) | asked Jun 07 '12, 9:54 a.m.
retagged Jun 07 '12, 10:10 a.m. by Evan Hughes (2.4k1118)
Hello,

I'm trying to find out if it's possible to extract resource allocation info using REST API.
I'm looking for project area name; resource name; start date; end date; allocation %  info

-thanks in advance

3 answers



permanent link
Timur Markunin (6495160144) | answered Jun 07 '12, 11:05 a.m.
It seems that I could use https://hostname:9443/ccm/rpt/repository/apt  URI
It returns data from [ccm].[RESOURCE].[WORK_RESOURCE_DETAILS]  database table. I could extract user name, development line, start date and end date. Still looking for allocation % info.

permanent link
Timur Markunin (6495160144) | answered Jun 09 '12, 3:33 a.m.
List of all resource allocations could be extracted using https://hostname:9443/ccm/rpt/repository/apt URI. Individual assignments are stored in <workResourceDetails> element. You could drill down into an assignment f.e. https://hostname.com:9443/ccm/resource/itemOid/com.ibm.team.apt.resource.WorkResourceDetails/_V90QsLCFEeGPPeykedJOew

and found all details.

<assignment > attribute contains info about assignment %.

-Timur

permanent link
Eray İzgin (1161423) | answered Jan 22 '13, 4:06 a.m.

we are using rtc 3.0.1. and I try to get memory allocation info by url "https://hostname:9443/ccm/rpt/repository/apt ;". but there is no line "worksourceDetails". how can I display the memory usage with api or oslc ?

thanks.


Comments
Timur Markunin commented Jan 22 '13, 4:56 a.m.

Hi Eray,


it's not for hardware resources. You could use this URI to get person allocation.

-regards 


Eray İzgin commented Jan 22 '13, 5:05 a.m.

is it possible to get hardware memory usage info with api ?

(admin panel - free memory of current)

Your answer


Register or to post your answer.