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

What are the required parameters for requirementsChangedSince endpoint in RRC OSLC API?

August 27, 2012

RRC 4.0 OSLC API

I'm getting a 406 Not Acceptable response when doing a GET on the requirementsChangedSince endpoint with parameter ?after=2010-07-15T14:03:14.640Z  (both encoded or not).

Are there more required parameters, or am I using the wrong date format?

Thanks,

-Rob

0 votes


Accepted answer

Permanent link
Hi,
It may be better to use the OSLC query capability with following parameters:

Sample:  Query for all artifacts modified at or later than 08/01/2012 at 21:50:40.979  ( it must specify the date format : ^^xsd:dateTime )

    &oslc.prefix=dcterms=<http://purl.org/dc/terms/>,oslc_rm=<http://open-services.net/ns/rm%23>&oslc.select=dcterms:title,dcterms:modified&oslc.where=dcterms:modified>="2012-08-01T21:51:40.979Z"%5E%5Exsd%3AdateTime
Robert Elves selected this answer as the correct answer

0 votes

Comments

Will do, thanks.


2 other answers

Permanent link

I tried the below query to get all artifacts modified after a certain date but i am getting request timed out message:-

"https://xyz.com/rm/views?oslc.query=true&amp;projectURL=https%3A%2F%2Fxyz.com%2Fjts%2Fprocess%2Fproject-areas%2F_AMNOYO6_EeKXkoM7Um_54A&oslc.prefix=dcterms=<http://purl.org/dc/terms/>,oslc_rm=<http://open-services.net/ns/rm%23>&oslc.select=dcterms:title,dcterms:modified&oslc.where=dcterms:modified>="2013-07-09T11:51:20.417Z"%5E%5Exsd%3AdateTime"

Please let me know what mistake i am doing.

Thanks,

Sanitha

0 votes


Permanent link

Hi,
I tested your query in my dev env and the last " char was the one giving issues.

Instead of:  &oslc.where=dcterms:modified>="2013-07-09T11:51:20.417Z"%5E%5Exsd%3AdateTime"

try : &oslc.where=dcterms:modified>="2013-07-09T11:51:20.417Z"%5E%5Exsd%3AdateTime

0 votes

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
× 516
× 139

Question asked: Aug 27 '12, 10:14 a.m.

Question was seen: 5,392 times

Last updated: Aug 01 '13, 12:28 p.m.

Confirmation Cancel Confirm