DOORS Next Generation Rest Api - oslc.where with modified date
I want to query the artifacts from RDNG which were modified within - let's say the last twentyfour hours or something via Rest service.
I built the following querying-URL:
The problem: It returns no artifacts. If I just remove the oslc.where part it works fine and a lot of artifacts are returned.
I also tried some different date formats like "2018-08-02" or "2 August 2018" - but still nothing.
Does anyone have a hint?
3 answers
Hi Soeren
If you pasted in your question the actual literal URL you built, you need to URL-encode all the parameter value strings
For example the oslc.prefix value
dcterms=<http://purl.org/dc/terms/>
should be encoded as this in the actual URL:
dcterms%3D%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E
Same for all the other parameters. Then combine them into the full URL
HTH
Ian
Got an answer from the IBM Support:
https://server:port/rm/publish/resources/*?modifiedSince=2018-08-02T13:43:25.000-0400