Requesting a quote for vehicle repairs

Let's take a different approach to this and the following HTTP requests in order to avoid this becoming an endless chapter, and also because it's fun to try out the other transactions on your own. Just examine the code of the chaincode and figure out what is happening.

In this and the following two sections, I will briefly go over the input arguments, the expected results, and some possible error flows. Imagine that the vehicle with the registration number JN6ND01S3GX194659 was damaged in an accident. This vehicle is owned by AutoLease, not personally by an individual, and it needs to be repaired as soon as possible. The lease company therefore submits a request for a quote to have the vehicle repaired ...

Get Blockchain across Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.