Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://dev.docstore.ole.kuali.org/

2. Operations

2.1 Summary

Shows  Shows the summary of node record count for each category, type and formath

...

No Format
 <request>
    <user>ole-khuntley</user>
    <operation>batchIngest<<operation>ingest</operation>
    <requestDocuments>
        <ingestDocument id="1" category="work" type="bibliographic" format="marc">
            <content>
        See section "Sample Input XML for Ingest".
    </content>
        </ingestDocument>
    </requestDocuments>
</request>

...

No Format
 <response>
  <documents>
    	<document id="1" category="work" type="bibliographic" format="marc">
      	    <uuid>8675a422-b6ad-440e-bc0d-9f0dc1526ed2<<uuid>10000004</uuid>
	</document>
   </documents>
<user>ole-khuntley</user>
<operation>batchIngest<<operation>ingest</operation>
<status>Success</status>
<message>Documents ingested</message>
</response>

...

No Format
 <request>
    <user>ole-khuntley</user>
    <operation>checkIn</operation>
    <requestDocuments>
        <ingestDocument id="5325d77a-8221-4fda-a78f-6d2f96e0b05910000004" category="work"
                               type="bibliographic" format="marc">
            <content>
		See section "Sample Input XML for Check in".
	</content>
        </ingestDocument>
    </requestDocuments>
</request>

...

            Information about the response from the service for the given request 

No Format
 <?xml version <response>
  <documents>
    	<document id="1.0" encodingcategory="UTF-8"?>
<OLEDocstore-call>
	<request>
		<command>Check-in</command>
		<params/>work" type="bibliographic" format="marc">
      	    <uuid>10000004</uuid>
	</request>document>
	<response> 		<status>Success</status> 		<message>Successfully checked in </message>
	</response>
</OLEDocstore-call> </documents>
<user>ole-khuntley</user>
<operation>checkIn</operation>
<status>Success</status>
</response>

2.4 Check-out

This operation retrieves the content of a document given its UUID.

...

No Format
 <request>
    <user>ole-khuntley</user>
    <operation>delete</operation>
    <requestDocuments>
<ingestDocument id="715e92f0-b3ab-4263-96d9-58183a23e6d5"><linkedIngestDocuments></linkedIngestDocuments><10000004"></ingestDocument>
 </requestDocuments>
</request>

...

No Format
 <response>
  <documents>
    <document id="715e92f0-b3ab-4263-96d9-58183a23e6d510000004"></document>
  </documents>
  <user>ole-khuntley</user>
  <operation>delete</operation>
  <status>Success</status>
</response>

...