Closed
Description
I'm trying to create a manufacturer like this:
man := n.NewManufacturerRequestWithDefaults()
man.Name = "somename"
man.Slug = "someslug"
resp, _, err := nb.DcimAPI.DcimManufacturersCreate(context.Background()).ManufacturerRequest(manu).Execute()
I get this error:
panic: failed to create manufacturer somename: no value given for required property devicetype_count
I can see how devicetype_count is required for a Manufacturer but not for a ManafacturerRequest. At the same time, the Manufacture is created, but the Execute
returns an error.
Metadata
Metadata
Assignees
Labels
No labels