Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
stylefont-weight:bold;font-size:1.2em;
Loan In Service Home

Brief Description

Insert excerpt
SDRcollectionspace:Loan In Service Description and AssumptionsSDR
collectionspace:Loan In Service Description and Assumptions
namebrief-description
nopaneltrue
For a full description, visit the Service Description and Assumptions page.

Assumptions

For a complete list of assumptions, visit the Service Description and Assumptions page.

REST-based API

The Loan In Service offers a REST-based Application Programming Interface (API) to CRUD (create, read, update, and delete) operations on individual Loan In instances, plus list operations on multiple Loan In instances. These follow the Common model for CollectionSpace REST services.

...

Creates a new Loan In record. Assigns a unique, service-specified CollectionSpace ID (CSID) /wiki/spaces/collectionspace/pages/666274321 to that Loan In record. Follows standard Create model. See the documentation of the Loan In schema, below. Example:

...

Reads an existing Loan In record, specified by its CollectionSpace ID (CSID) /wiki/spaces/collectionspace/pages/666274321. Follows standard Read model. See the documentation of the Loan In schema, below. Example:

...

Updates an existing Loan In record, specified by its CollectionSpace ID (CSID) /wiki/spaces/collectionspace/pages/666274321. Follows standard Update model. See the documentation of the Loan In schema, below. Example:

...

Deletes an existing Loan In record, specified by its CollectionSpace ID (CSID) /wiki/spaces/collectionspace/pages/666274321. Follows standard Delete model. Example:

...

Code Block
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns2:loansin-common xmlns:ns2="http://services.collectionspace.org/loanin">
    <loanInNumber>LI2010.05</loanInNumber>
    <lenders>
       <lender>urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth):person:name(Harry Lender)'Harry Lender'</lender>
       <lender>urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth):person:name(Sally Lender)'Sally Lender'</lender>
  <loanReturnDate>2012-01-29</loanReturnDate>
    <loanPurpose>For Surfboards of the 1960s exhibition  </lenders>
    <loanReturnDate>2011-09-23</loanReturnDate>
    <loanPurpose>To record content from Hellenistic Babylonian legal texts (cuneiform tablets), in conjunction with ongoing research effort.</loanPurpose>
    ...
</ns2:loansin-common>

...

Code Block
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns2:loansin_common xmlns:ns2="http://collectionspace.org/services/loanin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/loanin http://services.collectionspace.org/loanin/loansin_common.xsd">
    <loanInNumber>LI2010.05</loanInNumber>
    <lenders>
       <lender>urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth):person:name(Harry Lender)'Harry Lender'</lender>
       <lender>urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth):person:name(Sally Lender)'Sally Lender'</lender>
  <loanReturnDate>2012-01-29</loanReturnDate>
    <loanPurpose>For Surfboards of the 1960s exhibition  </lenders>
    <loanReturnDate>2011-09-23</loanReturnDate>
    <loanPurpose>To record content from Hellenistic Babylonian legal texts (cuneiform tablets), in conjunction with ongoing research effort.</loanPurpose>
    ...
</ns2:loansin-common>

...

Code Block
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns2:loansin-common-list xmlns:ns2="http://collectionspace.org/services/loanin">
  <loanin-list-item>
    <loanInNumber>LI2010.05</loanInNumber>
    <loanReturnDate>2012<loanReturnDate>2011-0109-29<23</loanReturnDate>
    <uri>/loansin/b59d0c6f-08f2-4fb5-b5f7</uri>
    <csid>b59d0c6f-08f2-4fb5-b5f7</csid>
  </loanin-list-item>
  ....
</ns2:loansin-common-list>