Search the collections
Api Documentation
Api Methods
Items
Themes
Tags
Locations
items/getinfomultiple
Get the metadata for multiple items indicaded by a comma delimited list of item identifiers.
Parameters
| Parameter | Type | Default | Restrictions | Description |
|---|---|---|---|---|
ids (required) |
string | Comma delimited string containing one or more unique identifiers indicating which items to retrieve. | ||
detail (optional) |
integer | 1 | min>=1, max<=3 | Determines what level of detail to respond with. 1 being the briefest through to 3, the most verbose. |
Example
For example this will retrieve two items with ids 404914 and 408335 and a detail level of 1.
http://museumvictoria.com.au/collections/api/v1/items/getinfomultiple?ids=404914,408335&detail=1
The response will look something like this:
<items> <item> <id>404914</id> <name>Printing Press - English Common Press, Fawkner, 1700s</name> <registrationNumber>ST 026747</registrationNumber> <url>...</url> <type>Object</type> <summary>The Melbourne Advertiser, the first Melbourne newspaper, ...</summary> <description>Printing press; a wooden standing mechanism with ...</description> <image> <description>This image shows the Fawkner Press in its ...</description> <id>228312</id> <title>Fawkner Printing Press, Correct Configuration</title> </image> </item> <item> <id>408335</id> <name>Coach - Abbott & Downing, 'Concord' Type, 1867</name> <registrationNumber>ST 025188</registrationNumber> <url>...</url> <type>Object</type> <summary>Concord or thorough-brace type coach made by Abbott ...</summary> <description>Fitted with dual brake levers a serial number is ...</description> <image> <description /> <id>182359</id> <title>Coach</title> </image> </item> </items>
Errors
| Code | Message |
|---|---|
| 1 | Maintenance - Site is down for maintenance and will be back shortly. |
| 2 | ResourceNotFound - Item(s) could not be found. |
| 400 | InvalidParameter - Request is either missing a required parameter or parameter is of an invalid type. |



