Error thrown during ?oslc.where=dcterms:type="Task" get call
Sir,
I have tried to do REST API call and get list of Task from specific project and I use below query to retrieve RTC Tasks.
https://localhost:9443/ccm/oslc/contexts/_KblvkHxzEeWxd5fvakHMAg/workitems?oslc.where=dcterms:type="Task"&oslc.select=dcterms:identifier,dcterms:type,dcterms:modified
But following error thrown.
<oslc:Error rdf:about="#n0">
<oslc:message>Unknown attribute id: [http://purl.org/dc/terms/type]</oslc:message>
<oslc:statusCode>400</oslc:statusCode>
</oslc:Error>
<oslc:message>Unknown attribute id: [http://purl.org/dc/terms/type]</oslc:message>
<oslc:statusCode>400</oslc:statusCode>
</oslc:Error>
During the resource of this issue I found following question and answer.
Is this issue resolved? I am using RTC 5.0.2 version.
Thanks in Advance.
Debasish
Accepted answer
I can see the same issue. Probably use <rtc_cm:type> instead.
Comments
thanks this is worked for me....
https://localhost:9443/ccm/oslc/contexts/_KblvkHxzEeWxd5fvakHMAg/workitems?oslc.where=rtc_cm:type=<"task id">&oslc.select=dcterms:identifier,dcterms:type,dcterms:modified