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

Fetch active enumeration literals using REST API.

 I'm trying to fetch the unarchived Enumeration literals associated to an attribute using the REST API. This enumeration contains both Archived and Unarchived values. I can fetch the entire list of enumeration literals using 

https://hostname:9443/jazz/oslc/enumerations/_LcIiUISREeWSsPcl7d0Qlg/enumerationid and https://hostname:9443/jazz/oslc/enumerations/_LcIiUISREeWSsPcl7d0Qlg/enumerationid?includeArchived=false

If i look at the project xml source, there is a Archived=true tag on all Archived values. 

<literal archived="true" externalValue="01254" id="enumerationid" name="Literal1"/>

Is there a way to fetch only the Unarchived values and leave the Archived ones as it is?

0 votes


Be the first one to answer this question!

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
× 10,943
× 7,496

Question asked: Aug 10 '16, 11:42 a.m.

Question was seen: 2,047 times

Last updated: Aug 15 '16, 2:26 p.m.

Confirmation Cancel Confirm