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

How can I write Work Allocation usin REST API

RTC 4.0.2

I would like to use the REST API interface to set workallocation of people.

I know the resources from the Reportable REST API but not how to modify the workallocation.

Can somebody help me there. Is it possible to write e.g assignment
Rest API is: https://server/ccm/rpt/repository/apt?fields=workResourceDetails/workResourceDetails[contributor/userId=id]/*

<workResourceDetails>
 <contributor/>
 <uniqueId>998667c786c1c586566d9b81049c54de</uniqueId>
 <stateId>_K9rY8PQYEeC9M-JPZxKhQA</stateId>
 <itemId>_4fLdUPQXEeC9M-JPZxKhQA</itemId>
 <contextId>_8lNyYNwSEd2pIJ5QVwgQGg</contextId>
 <modified>2011-10-11T16:49:07.327+0200</modified>
 <assignment>0</assignment>
 <startDate>2000-01-01T13:00:00.000+0100</startDate>
 <endDate>3000-01-01T13:00:00.000+0100</endDate>
 <modifiedBy/>
 <developmentLine/>
 <projectArea/>
 <teamArea/>
</workResourceDetails>

Thanks
erwin

0 votes

Comments

We need urgently the possibility to WRITE workallocation of a contributor over web.

We are able to do this with Java API, but we need a REST or OSLC API.

It doesn't matter if it is an official API or just an internal one. It also must not be stable. We are able to manage changes.

Dear RTC developers, tell us, if there is a way to write workallocations over the WEB out of a browser Client application, without a Java-API.

Do we really have to reverse engineer the SAVE button of the user Profile page?

Hi There.

We are still looking for a solution. Any help is welcome

Thx
erwin


Accepted answer

Permanent link

 The API in use above is the Reportable REST API. As fat as I can tell, that is a read-only API.



Pretty much all APIs can be found here: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding the reportable REST APIs are in the section REPORTING . E.g. https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI as you might notice all calls are GET calls.


I am not aware of a supported REST API to write it.


Ralph Schoon selected this answer as the correct answer

0 votes


2 other answers

Permanent link
Hello Erwin,
You can use following query:
https://localhost:9443/ccm/rpt/repository/workitem?fields=workitem/workItem/%28id|timestampExtensions/*%29
Let me know if it works for you.

Best reagards,
Krzysztof Kazmierczyk

0 votes

Comments

Thanks for your answer. Looks like my question was not clear enough. I modified it

I'm looking for something like the requirementFactory in RM


Permanent link

 did u get answer for it?

0 votes

Comments

Consider to write your own question instead of asking with an answer in someone else question.  

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
× 10,937
× 479

Question asked: May 07 '13, 2:55 p.m.

Question was seen: 7,351 times

Last updated: Jul 14 '21, 12:40 p.m.

Confirmation Cancel Confirm