Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Deserialization error when updating assigned asset #4

@rlouch2

Description

@rlouch2

The SnipeIT JSON is returning an "assigned_to" integer that isn't being mapped

Newtonsoft.Json.JsonSerializationException: 'Error converting value 864 to type 'SnipeSharp.Models.AssetAssignedTo'. Path 'payload.assigned_to', line 1, position 250.'

To replicate change some elements on an asset that is assigned to a user and call the update asset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions