-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added role parameter to register_patron and send_query functions
- Loading branch information
1 parent
0e563cb
commit 5f4f2d2
Showing
5 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,7 @@ smtp: | |
smtp_fromname: 'SENDER NAME' | ||
smtp_replyto: '[email protected]' | ||
smtp_allowhtml: true | ||
smtp_default_subject: 'Welcome to Multnomah County library' | ||
# SirsiDynix Symphony parameters. For the most part, these must match values you have configured in | ||
# your Symphony system. | ||
symphony: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
'city_state' => 'Portland, OR', | ||
'county' => '0_MULT', | ||
'profile' => '0_MULT', | ||
'patron_id' => '99999999999993', | ||
'patron_id' => '99999999999995', | ||
'email' => '[email protected]', | ||
'firstName' => 'Bogus', | ||
'friends_notices' => 'YES', | ||
|
@@ -30,19 +30,20 @@ | |
'postal_code' => '97209', | ||
'street' => '925 NW Hoyt St Apt 406', | ||
'telephone' => '215-534-6821', | ||
'sms_phone_list' => [ | ||
'phoneList' => [ | ||
'number' => '215-534-6821', | ||
'countryCode' => 'US', | ||
'bills' => true, | ||
'general' => true, | ||
'holds' => true, | ||
'manual' => true, | ||
'overdues' => true, | ||
'bills' => TRUE, | ||
'general' => TRUE, | ||
'holds' => TRUE, | ||
'manual' => TRUE, | ||
'overdues' => TRUE, | ||
], | ||
]; | ||
|
||
$addr_num = 1; | ||
$response = $ilsws->register_patron($patron, $token, $addr_num); | ||
$role = 'STAFF'; | ||
$response = $ilsws->register_patron($patron, $token, $addr_num, $role); | ||
print json_encode($response, JSON_PRETTY_PRINT) . "\n"; | ||
|
||
// EOF |