...
The Movement service manages information around the movement of a CollectionObject - an instance of location change. This includes location changes resulting from movements between storage locations, such as between rooms or shelves.
There are a few location areas that represent exhibition areas of MMI. These locations include any authority value that begins with BTS
, CHX
and AMP
.
To find the current location of a CollectionObject, the following Relation API call can be made
Code Block |
---|
http://cspacetest.collectionspace.org:8180/cspace-services/relations?sbj={{csid}}&objType=Movement |
One * or more related movement records will be returned.
Unfortunately, there is no way to request movement record's currentLocation
column value in the Relation service payload, which would aid in quickly filtering by the location authority value. Each movement record returned will need to be examined.
Some CollectionObject records may have more than one related movement record. Only the most recent movement record should be used and this is determined by comparing the locationDate
value of each.
* It's possible that there will not be a related movement record returned if in case the physical object cannot be found! This should be a rare occurrence in any collection.
...