These instructions assume the SIP2Mediator is running on an Ubuntu server. It also assumes the SIP2Mediator is running on the same host as Evergreen. See the –help options to specify non-default listen address for SIP and the target HTTP address.
More information about the mediator may be found at https://github.com/berick/SIP2Mediator
sudo apt install build-essential libjson-xs-perl libnet-https-nb-perl libdatetime-perl sudo cpan URL::Encode::XS git clone https://github.com/berick/SIP2Mediator.git cd SIP2Mediator # run the mediator on localhost PERL5LIB=lib ./bin/sip2-mediator # see --help for full options
From within the SIP2Mediator directory:
PERL5LIB=lib ./bin/sip2-client --pretty --institution example \ --sip-username sip-username-you-just-created \ --sip-password sip-password-you-just-created \ --item-barcode CONC4000080 -message item-information
[SENDING] [93] Login Request uid algorithm 0 pwd algorithm 0 [CN] login user id sip-username-you-just-created [CO] login password sip-password-you-just-created ---------------- [RECEIVED, duration: 0.158]: [94] Login Response ok 1 ---------------- [SENDING] [17] Item Information Request transaction date 20201130 162815 [AO] institution id example [AB] item identifier CONC4000080 ---------------- [RECEIVED, duration: 0.062]: [18] Item Information Response circulation status 04 security marker 02 fee type 01 transaction date 20201130 162815 [AB] item identifier CONC4000080 [AH] due date 2020-11-24 13:55:34 [AJ] title identifier The piano concertos [AP] current location BR1 [AQ] permanent location BR1 [BG] owner BR1 [BH] currency type USD [BV] fee amount 0.00 [CF] hold queue length 0 [CK] media type 001 [CM] hold pickup date [CT] destination location BR1 [CY] hold patron id ----------------