Skip to Content
0
Former Member
Jun 16, 2016 at 07:20 AM

Retrieve SI_DOCUMENTS for a Category via BIPRWS

128 Views

Is it possible to retrieve the equivalent of SI_DOCUMENTS for an InfoObject where SI_KIND = 'Category' via the RESTful Web Services SDK? In other words, list the documents hanging off a particular category?

Note: In my limited testing of BIPRWS using URL /biprws/infostore/<si_id>/ (where <si_id> = the SI_ID of the Category), the XML response (example below) is very watered down compared to what is available via Query Builder or the traditional Java SDK.

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
   <author>
      <name>username</name>
      <uri>http://biserver:6405/biprws/infostore/123456</uri>
   </author>
   <id>tag:sap.com,2010:bip-rs/AbcFHCNUZ7ZLieEoMfzOTeQ</id>
   <title type="text">Category Name</title>
   <updated>2016-06-16T03:54:19.851Z</updated>
   <link href="http://biserver:6405/biprws/infostore/Categories" rel="up" />
   <content type="application/xml">
      <attrs xmlns="http://www.sap.com/rws/bip">
         <attr name="id" type="int32">123456</attr>
         <attr name="cuid" type="string">AbcFHCNUZ7ZLieEoMfzOTeQ</attr>
         <attr name="description" type="string" />
         <attr name="name" type="string">Category Name</attr>
         <attr name="type" type="string">Category</attr>
      </attrs>
   </content>
</entry>