<div dir="ltr"><div>Hi everybody-</div><div><br></div>I'm trying to batch update container_profiles assigned to top_containers using the API endpoint documented here:<div><br></div><div><a href="http://archivesspace.github.io/archivesspace/api/#post-repositories-repo_id-top_containers-batch-container_profile">http://archivesspace.github.io/archivesspace/api/#post-repositories-repo_id-top_containers-batch-container_profile</a></div><div><br></div><div>... and I'm having trouble passing the 'ids' parameter. The data type for this parameter is '[Integer]' (with the brackets). Everything I try results in an error complaining that the value I sent is a string and not an [Integer], eg:</div><div><br></div><div>"Wanted type [Integer] but got '2'"<br></div><div>"Wanted type [Integer] but got '[2]'"<br></div><div><br></div><div>Can anyone explain how to correctly format the parameters for this? Any insight is appreciated.<br></div><div><br></div><div>(BTW - we're using version 1.5.1.)<br clear="all"><div><br></div><div>Thanks,</div><div>Trevor</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2" style="background-color:rgb(255,255,255)" color="#666666">Trevor Thornton</font><div><font size="2" style="background-color:rgb(255,255,255)" color="#666666">Applications Developer, Digital Library Initiatives</font></div><div><font size="2" style="background-color:rgb(255,255,255)" color="#666666">North Carolina State University Libraries</font></div></div></div></div></div></div></div>
</div></div>