The RepairVehicle transaction represents the request for the repair of a vehicle, and it refers to the quote from the repair shop describing what is to be repaired and what it will cost. The request for repair is submitted by the leasing company, AutoLease, using their front-office system, which then calls a different web service exposed by BPEL Process Manager that transforms the XML message into a REST API call in order to execute the correct smart contract code.
If the transaction is endorsed and committed, a RepairOrder event is transmitted. The application from NY Automotive Services is listening in on these types of events through web-sockets, and upon receiving it they schedule an appointment in their back-office ...