It's all about the answers!

Ask a question

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


Robert Elves (10234) | asked Aug 27 '12, 10:14 a.m.
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

Accepted answer


permanent link
Gabriel Ruelas (1.1k13) | answered Aug 27 '12, 12:25 p.m.
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

Comments
Robert Elves commented Aug 27 '12, 1:13 p.m.

Will do, thanks.

2 other answers



permanent link
Sanitha Pillai (61810) | answered Jul 30 '13, 5:53 a.m.

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


permanent link
Gabriel Ruelas (1.1k13) | answered Aug 01 '13, 12:28 p.m.

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

Your answer


Register or to post your answer.