Used in
REQUEST Servers
Metadata (Browse) Parent elements
GET_METADATA Syntax
Description
Searches deleted documents based on the date when the document was deleted from the Metadata Service.
Restrictions
- This element is available only to users who have the role metadata_administrator in the access control list.
Notes
- The format for dates is YYYY-MM-DD hh:mm:ss. The year, month, and date are required. Hours, minutes, and seconds are optional.
- Attributes can be used individually or together. If both attributes are specified, they are automatically concatenated together with an "and" operator. If neither attribute is specified, all deleted documents are retrieved.
- Can be used to support harvesting, where updates made to a Metadata Service since the last harvest can be mirrored in the harvester's Metadata Service.
Attribute Descriptions for GET_DELETED_DOCUMENTS
Attribute | Usage |
---|
after | Search for deleted documents newer than the date and time given. |
before | Search for deleted documents older than the date and time given. |
Back to top Examples for GET_DELETED_DOCUMENTS
<?xml version="1.0" encoding="UTF8" ?>
<ARCXML version="1.1">
<REQUEST>
<GET_METADATA>
<GET_DELETED_DOCUMENTS after="2005-12-31" before="2006-02-01"/>
</GET_METADATA>
</REQUEST>
</ARCXML>
|
Back to top