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

Schema documentation for Reportable REST API

I'm using the Reportable REST API to pull information for artifacts in Doors Next 7.0.2./7.0.3. Is there documentation anywhere on the schema for the results returned, along with the meaning behind all the fields/attributes in the XML response? For example, I noticed that the values for custom attributes for the artifact are listed in the attribute:customAttribute elements like in the example shown below. But I also see that some of the attribute:customAttribute elements have different xml attributes. For example, in the example below the first attribute:customAttribute element has the attribute:isEnumeration, and attribute:literalName XML attributes, while the second doesn't. And the second attribute:customAttribute element has the attribute:valueTS while the first doesn't. Would be nice to have a list of all the XML attributes that an XML element in the results can have, along with their meaning to aid in parsing the data.

<rrm:attributes>
<attribute:objectType attribute:itemId="OT_eW0ia27rEe-UmdY83D8_1g" attribute:name="Heading" attribute:projectAreaItemId="_eQl-kG7rEe-UmdY83D8_1g" attribute:projectAreaName="Test Project (Requirements)">
<attribute:customAttribute attribute:datatype="http://www.w3.org/2001/XMLSchema#string" attribute:isEnumeration="true" attribute:isMultiValued="false" attribute:itemId="DefaultWorkflow" attribute:literalId="DefaultWorkflow#com.ibm.rdm.workflow.common.complete" attribute:literalName="-" attribute:name="State (Default)" attribute:value="com.ibm.rdm.workflow.common.complete"/>
<attribute:customAttribute attribute:datatype="http://www.w3.org/2001/XMLSchema#string" attribute:isMultiValued="false" attribute:itemId="AD_7ylJ4ITxEe-Km_7reoRTxw" attribute:name="pvRestriction" attribute:value="Opt2" attribute:valueTS=""/>
</attribute:objectType>
</rrm:attributes>

1 vote



One answer

Permanent link

The schema for your artifact format can be retrieved from your server - this is documented on the DNG Reportable REST API page, search for "Get Schema"

0 votes

Comments

Thanks. I called the schema endpoint and I am able to see the schema for attribute:customAttribute where it lists all the different fields. However the schema doesn't describe what the fields mean. While some of them are self explanatory, others like the one's I highlighted in red in the image below aren't. Are there examples anywhere for parsing through the data that explain the meaning of all the fields? Without the meaning there is no way to be sure that I am parsing the information correctly. 


Your answer

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
× 11,086

Question asked: Jan 16 '25, 6:56 p.m.

Question was seen: 1,867 times

Last updated: Jan 17 '25, 10:15 a.m.

Confirmation Cancel Confirm