<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi ArchivesSpace folks,</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I've been trying to get the find_by_id API call to work and haven't had any luck. What I really want is to be able to find archival objects by ARK, but I tried the other types of IDs to see if they would work and tell me something useful. But I can't get any
of them to work.<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;"> </span><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;">We're
on version 3.2.0.</span><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"> I have a program that establishes a connection and gets a session ID, then sends off the API call. When the same program sends
this search API, it works:</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<blockquote style="margin-top:0;margin-bottom:0">
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="background-color:rgb(255, 255, 255);display:inline !important" class="ContentPasted2">http://ourhost.com:8089/search?q=component_id:"YLTAD111/51/37" OR component_id:"YLTAD111/51/38" OR component_id:"YLTAD111/51/39"&page=1</span></div>
</blockquote>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
Here's what I have tried:</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<blockquote style="margin-top:0;margin-bottom:0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ark=https://ourhost.com/ark:/9999/119460
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ark=ark:/9999/119460</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ark=119460</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ark[]=ark:/9999/119460</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ark[]=119460</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?component_id[]=YLTAD111/51/37</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?component_id[]=YLTAD111%2F51%2F37</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?component_id[]='YLTAD111%2F51%2F37'</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?component_id[]='YLTAD111'</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?component_id[]=YLTAD111</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=YLTAD111</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?component_id[]=YLTAD111;resolve[]=archival_objects</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=MS%2015856;resolve[]=archival_objects</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=MS 15856;resolve[]=archival_objects</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=MS_15856;resolve[]=archival_objects</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=MS10840-1.1.1;resolve[]=archival_objects</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=MS10840-1.1.1;resolve[]=archival_objects</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/3/find_by_id/archival_objects?component_id[]=MS10840-1.1.1</div>
<div class="ContentPasted0">http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ref_id[]=15a419a9464353be174f77bdc8f38874</div>
http://ourhost.com:8089/repositories/5/find_by_id/archival_objects?ref_id=15a419a9464353be174f77bdc8f38874<br>
</blockquote>
</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Every single call returned a 404 error. <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Can anyone tell me what I'm doing wrong? I'll feel stupid if it's obvious, but I'll still be thankful. Thanks so
much!</span></div>
<div class="elementToProof ContentPasted0 ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof ContentPasted0 ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Regards,<br>
Alan</div>
<p> </p>
<div style="font-size:11pt;font-family:Century Gothic">
<p><b>Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description
</b><br>
State Library Victoria | 328 Swanston Street | Melbourne VIC 3000<br>
T +61 3 8664 7122 | amanifold@slv.vic.gov.au<br>
<a href="http://slv.vic.gov.au" tabindex="0">slv.vic.gov.au</a></p>
<p><br>
<img alt="slv" src="http://www.slv.vic.gov.au/sites/default/files/email_signature/AOC_esignature.png"></p>
<table>
<tbody>
<tr>
<td colspan="3"><a href="https://www.slv.vic.gov.au/email_campaign" tabindex="0"><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9"></a></td>
<td> </td>
</tr>
</tbody>
</table>
</div>
<p> </p>
This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly
prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you.
</body>
</html>