server item instance qr code generation

and small fixes in api