See the README for documentation
ISO18626 message:
<ISO18626Message xmlns="http://illtransactions.org/2013/iso18626" xmlns:ill="http://illtransactions.org/2013/iso18626" ill:version="1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://illtransactions.org/2013/iso18626 http://illtransactions.org/schemas/ISO-18626-v1_2.xsd"> <request> <header> <supplyingAgencyId> <agencyIdType>ISIL</agencyIdType> <agencyIdValue>BROKER</agencyIdValue> </supplyingAgencyId> <requestingAgencyId> <agencyIdType>ISIL</agencyIdType> <agencyIdValue>REQ</agencyIdValue> </requestingAgencyId> <multipleItemRequestId></multipleItemRequestId> <timestamp>0001-01-01T00:00:00.000Z</timestamp> <requestingAgencyRequestId></requestingAgencyRequestId> </header> <bibliographicInfo> <!-- specify supplier scenario via <supplierUniqueRecordId> field, see https://github.com/indexdata/crosslink/blob/main/illmock/README.md#supplier-behavior --> <!-- NOTE: when submitting a PatronRequest where the broker is the supplier peer (default), and assuming the broker is configured with the mock SRU holdings adapter (also default), you can specify multiple ILL scenarios for each mock supplier located by the broker with a semicolon separated list, e.g.: <supplierUniqueRecordId>ERROR;UNFILLED;WILLSUPPLY_UNFILLED;LOANED</supplierUniqueRecordId> --> <supplierUniqueRecordId>LOANED</supplierUniqueRecordId> <title>Lord of the Rings</title> <author>JRR Tolkien</author> <bibliographicItemId> <bibliographicItemIdentifier>1983</bibliographicItemIdentifier> <bibliographicItemIdentifierCode>ISBN</bibliographicItemIdentifierCode> </bibliographicItemId> </bibliographicInfo> <serviceInfo> <requestType>New</requestType> <!-- use requestSubType:PatronRequest ONLY if the mock should act as a requester and send a request to the supplier peer (broker by default) --> <requestSubType>PatronRequest</requestSubType> <serviceType>Loan</serviceType> <!-- specify requester behavior via the <note> field, see https://github.com/indexdata/crosslink/blob/main/illmock/README.md#requester-behavior --> <!-- <note>#CANCEL#</note> --> </serviceInfo> <!-- optionally, supplier peer address can be specified below, otherwise the default (broker) is used --> <!-- <supplierInfo> <supplierDescription>https://broker.crosslink-dev.indexdata.com/iso18626</supplierDescription> </supplierInfo> --> <!-- optionally, requester peer address can be specified below, otherwise the default (broker) is used --> <!-- <requestingAgencyInfo> <address> <electronicAddress> <electronicAddressType></electronicAddressType> <electronicAddressData>https://broker.crosslink-dev.indexdata.com/iso8626</electronicAddressData> </electronicAddress> </address> </requestingAgencyInfo> --> <requestedDeliveryInfo> <sortOrder>1</sortOrder> <address> <electronicAddress> <electronicAddressType>Email</electronicAddressType> <electronicAddressData>library.ill@xyz.edu</electronicAddressData> </electronicAddress> </address> </requestedDeliveryInfo> <requestedDeliveryInfo> <sortOrder>2</sortOrder> <address> <physicalAddress> <line1>123 Main St</line1> <locality>Chicago</locality> <postalCode>60601</postalCode> <region ill:scheme="">IL</region> <country ill:scheme="">USA</country> </physicalAddress> </address> </requestedDeliveryInfo> </request> </ISO18626Message>
Post
See the flows log for details
post a message to see the response