I am trying to post a simple update using the API. The API documentation says to use "Resource Serial No." as the field name for serial number, but the post result says "message": "Invalid field name 'Resource Serial No.' specified." Does anyone know the correct field name to use for serial number in the criteria parameters?
Thank you.
<?xml version='1.0' encoding='UTF-8'?>
<API version='1.0' >
<citype>
<name>Windows Workstation</name>
<criterias>
<criteria>
<parameter>
<name compOperator='IS'>Resource Serial No.</name>
<value>2UA3361RYZ</value>
</parameter>
</criteria>
</criterias>
<newvalue>
<record>
<!-- Product Name/Type cannot be updated using Update Operations-->
<!--parameter><name>Product Name</name><value>Unknown Server</value></parameter-->
<parameter>
<name>Department</name>
<value>Planning</value>
</parameter>
</record>
</newvalue>
</citype>
</API>
{"API": {
"version": "1.0",
"response": {"operation": {
"name": "update",
"result": {
"statuscode": "3025",
"status": "Invalid column(s) specified.",
"message": "Invalid field name 'Resource Serial No.' specified."
}
}}
}}