inventory-items requires parent
but not really
#1818
Labels
type: bug
A confirmed report of unexpected behavior in the application
parent
but not really
#1818
Issue type
[ ] Feature request
[x] Bug report
[ ] Documentation
Environment
Description
When doing a POST request to the
/api/dcim/inventory-items
endpoint with the following payload:It fails, with the following message:
When adding an inventory item using the UI, this field is not required (it's not even exposed), and when listing the items (using GET
/api/dcim/inventory-items
),parent
isnull
.This can be worked around by explicitly setting
parent
toNone
in the payload dictionary.The text was updated successfully, but these errors were encountered: