<div dir="ltr"><div>Gordon,</div><div><br></div><div>Please give me a call or shoot me a direct email during office hours (8 a.m. - 4 p.m. ET) to help me better understand what you're attempting to do.</div><div><br></div><div>Ruth Frasur</div><div>Evergreen Indiana Coordinator</div><div><a href="mailto:rfrasur@library.in.gov">rfrasur@library.in.gov</a></div><div>(317) 232-3691<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 11, 2022 at 5:29 PM Jason Stephenson via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org">evergreen-general@list.evergreen-ils.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Gordon,<br>
<br>
First, "Patron Matrix" is not typical Evergreen terminology. That looks <br>
like something that is specific to Evergreen Indiana.<br>
<br>
That said, if you want to figure out if a patron can borrow an item, <br>
there is an API call that you can make via OpenSRF: <br>
open-ils.circ.checkout.permit. This call determines if a checkout is <br>
permitted and is part of the two-stage checkout process. (Note that the <br>
two-stage checkout process has mostly been replaced with a single call <br>
to open-ils.circ.checkout.full.)<br>
<br>
If you're trying to test if a patron can place a hold or not, placing <br>
the hold is the only way to do that.<br>
<br>
There are a few database functions that test various aspects of the hold <br>
and circulation rules, but these are not exposed in any public API.<br>
<br>
That said, I'm not sure exactly what you are trying to do, so I am just <br>
guessing. If you can provide more information about what you wish to <br>
achieve, then we might be able to come up with more/better answers for you.<br>
<br>
Also, you may want to consider moving this conversation to the <br>
development mailing list.<br>
<br>
HtH,<br>
Jason<br>
<br>
On 7/6/22 06:19, Gordon Everett via Evergreen-general wrote:<br>
> Hi,<br>
> <br>
> I am a project manager so not particularly technical. We are looking <br>
> into how we can enforce the rules of the Patron Matrix <br>
> (<a href="https://evergreenindiana.org/wp-content/uploads/2015/05/Patron-Matrix.pdf" rel="noreferrer" target="_blank">https://evergreenindiana.org/wp-content/uploads/2015/05/Patron-Matrix.pdf</a> <br>
> <<a href="https://evergreenindiana.org/wp-content/uploads/2015/05/Patron-Matrix.pdf" rel="noreferrer" target="_blank">https://evergreenindiana.org/wp-content/uploads/2015/05/Patron-Matrix.pdf</a>>) <br>
> in our application. Could someone point me in the right direction in <br>
> terms of API documentation / strategies to implement blocks as per the <br>
> Patron Matrix? I am finding the documentation hard to navigate (possibly <br>
> due to not being very technical?).<br>
> <br>
> All responses hugely appreciated<br>
> <br>
> Kind regards,<br>
> <br>
> Gordon<br>
> <br>
> <br>
> _______________________________________________<br>
> Evergreen-general mailing list<br>
> <a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
> <a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Ruth Frasur</div><div>(765) 580-1137<br><br><br></div></div></div>