SnipeSharp icon indicating copy to clipboard operation
SnipeSharp copied to clipboard

Calling update on an asset with a CheckoutRequest attached breaks JSON Converter

Open barrycarey opened this issue 6 years ago • 2 comments

If an asset is updated after a checkout request is attached the JSON convert fails

barrycarey avatar Jul 07 '18 00:07 barrycarey

Also experiencing the same behaviour

Christoffleroux avatar Apr 13 '19 11:04 Christoffleroux

I think this may be caused by an inconsistency in what Snipe-It returns rather than with this package.

'assigned_to' is expecting a User model but the API returns an integer of the users id. However the API also returns a property of 'assigned' which does contain all of the assigned user properties

michaeldwood avatar Nov 17 '19 17:11 michaeldwood