--- http_interactions: - request: method: post uri: https://bdtest.relais-host.com/dws/item/available body: encoding: UTF-8 string: ! '{"PartnershipId":"BD","Credentials":{"LibrarySymbol":"DUMMY_BD_LIBRARY_SYMBOL","Barcode":"DUMMY_BD_PATRON"},"ExactSearch":[{"Type":"ISBN","Value":"9789810743734"}]}' headers: User-Agent: - ruby borrow_direct gem 0.9.1 (HTTPClient 2.5.3.2) https://github.com/jrochkind/borrow_direct Accept: - ! '*/*' Date: - Wed, 14 Jan 2015 21:00:24 GMT Content-Type: - application/json Accept-Language: - en response: status: code: 200 message: OK headers: Server: - nginx/1.4.1 Date: - Wed, 14 Jan 2015 21:00:26 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: US-ASCII string: ! '{"Item":{"Available":true,"SearchTerm":"isbn=9789810743734","AuthorizationId":"QopKWQ-IQ00bcPA88blPylWKaSk","PickupLocations":{"PickupLocation":["*Milton S. Eisenhower Library","APL - EP STUDENTS - Ed Center","APL STAFF - Room 5-17","Arthur Friedheim Library","Columbia Center","Harbor East","Harrison Medical Library-Bayview","Institute of the History of Medicine","JH Medical Campus Office (faculty and staff)","JHMI Pickup - Armstrong 306","JHMI Pickup - BSPH E4643","JHMI Pickup - Hampton House 9th floor","JHMI Pickup - PCTB 115-116","JHMI Pickup - School of Nursing 313","JHU Homewood Office (faculty and grad students)","Montgomery Library Resource Center","SAIS Library","Washington Library Resource Center","Welch Medical Library","Wilmer Friedenwald Library"]}}}' http_version: recorded_at: Wed, 14 Jan 2015 21:00:26 GMT - request: method: post uri: https://bdtest.relais-host.com/portal-service/user/authentication/patron body: encoding: UTF-8 string: ! '{"AuthenticationInformation":{"LibrarySymbol":"DUMMY_BD_LIBRARY_SYMBOL","PatronId":"DUMMY_BD_PATRON"}}' headers: User-Agent: - ruby borrow_direct gem 0.9.1 (HTTPClient 2.5.3.2) https://github.com/jrochkind/borrow_direct Accept: - ! '*/*' Date: - Wed, 14 Jan 2015 21:00:26 GMT Content-Type: - application/json Accept-Language: - en response: status: code: 200 message: OK headers: Server: - nginx/1.4.1 Date: - Wed, 14 Jan 2015 21:00:27 GMT Content-Type: - application/json;charset=UTF-8 Content-Length: - '494' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"Authentication":{"AuthnUserInfo":{"AId":"vcpdUQUv-PGEJjHrvKsUuyNK0gk","LibrarySymbol":"DUMMY_BD_LIBRARY_SYMBOL","Iso639_2_LangCode":"ENG","UserLogin":"DUMMY_BD_PATRON","FirstName":"Jonathan","LastName":"Rochkind","AllowLoanAddRequest":true,"AllowCopyAddRequest":false,"AllowSelDelivLoanChange":true,"AllowSelDelivCopyChange":false,"ILSProfile":{"EmailAddress":"jonathan@dnil.net","Telephone":"4105168886","AddressInformation":{"Address1":"Library Systems","Address2":"MSE Library\r\nHomewood Campus"}}}}}' http_version: recorded_at: Wed, 14 Jan 2015 21:00:27 GMT - request: method: post uri: https://bdtest.relais-host.com/dws/item/add body: encoding: UTF-8 string: ! '{"PartnershipId":"BD","AuthorizationId":"vcpdUQUv-PGEJjHrvKsUuyNK0gk","PickupLocation":"*Milton S. Eisenhower Library","ExactSearch":[{"Type":"ISBN","Value":"9789810743734"}]}' headers: User-Agent: - ruby borrow_direct gem 0.9.1 (HTTPClient 2.5.3.2) https://github.com/jrochkind/borrow_direct Accept: - ! '*/*' Date: - Wed, 14 Jan 2015 21:00:27 GMT Content-Type: - application/json Accept-Language: - en response: status: code: 200 message: OK headers: Server: - nginx/1.4.1 Date: - Wed, 14 Jan 2015 21:00:29 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: US-ASCII string: ! '{"Request":{"RequestNumber":"JHU-99000896"}}' http_version: recorded_at: Wed, 14 Jan 2015 21:00:29 GMT recorded_with: VCR 2.9.3