Request an inventory report for the given library.
an error, if the request is not successful.
an object converted from the message JSON response, if successful.
Request an inventory report for the given library.
Throws
an error, if the request is not successful.