I currently use a POST:
URL: api/v1.0/assets
with a json body of:
{"Filters"::{"Facet": "AssetSerialNumber","Value": "<asset-serial>"}]}
This works great. I am now trying to get and update the custom field we have which I can see in the response from above:
"CustomFieldValues":
{
"CustomFieldTypeId": "long_id_that_im_not_sure_if_i_should_post",
"EditorTypeId": 1,
"Value": "my value",
"IsHidden": false
},
],
I’ve tried doing: https://demo.iiqstaging.com/api/v1.0/custom-fields with json value:
{"Filters":e{"Facet": "AssetSerialNumber","Value": "<asset-serial>"}]}
But this does not work
I am just wanting to get an Asset by its AssetSerialNumber value and then get its CustomField. I’d like to be able to get it and then update it possibility if I need to make changes.