Request Object

From EPrints Documentation
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Data Objects: Access - Document - EPrint - Event Queue - File - History - Import - Login Ticket - Request - Saved Search - Subject - User


The Request object encapsulates a single request for a document, which can be:

  • a specific (restricted) document in the repository
  • a document not in the repository (where a record has no documents attached)

Built in Fields

Field NameTypeDescription
requestidcounter field
eprintiditemref field eprintThe ID of the record
docidtext fieldThe ID of the document requested
datestamptimestamp fieldWhen the request was made
useriditemref field userThe ID of the user who can respond to the request (if email matches a registered user)
emailemail fieldThe email the request was sent to
requester_emailemail fieldThe email of the person who requested the document
reasonlongtext fieldThe reason that the request was made, if any
expiry_datetime fieldThe time at which the request will expires.
codetext fieldThe code for this request, which can be used to created private URLs.
captcharecaptcha fieldThe ReCAPTCHA field for the form for the request.