How to efficiently get the String value of the attributes instead of Urls while fetching EWM Risk work item data
I am working on a use case in which I need to fetch EWM Risk work item details and structure the fetched request and then use it for intended purpose. There are about 52 attributes related to Risk work item and the issue that I am facing is--"Out of 50 attributes more than half of the attributes are coming as "rdf:resource" which is an url and then again I need to hit those Urls to get the actual String value of particular attributes". So there are multiple requests getting generated for fetching detail of just work Item. Is there any efficient way by which I can directly get the String value of the attributes? Thanks in advance.
1) What type of artifacts are you retrieving?
Ans: EWM Workitem (Risk Workitem type)
2) Which specific attributes are being returned as URLs (rdf:resource)?
Ans:
Consequence
ProbabilityofOccurrence
SeveritY
originalSeverity and few more attributes and their type is "Enumeration".
3) What data are you ultimately trying to obtain from the Risk artifact?
Ans: We need all the attributes and their display values as well.