Update an existing piece of equipment. When updating equipment you only need to specify the fields that you would like to change. All other fields will remain unchanged.
To update the name of a piece of equipment, you might send the following XML.
<equipment>
<name>Forklift 2</name>
</equipment> To update the Third Party ID, you might send the following XML.
<equipment>
<third_party_id>ABCDEF</third_party_id>
</equipment> Security
apiKey
PUT
curl -i -X PUT \
'https://api.vworkapp.com/v5/equipment/{id}.xml?api_key=string&use_third_party_id=1&api_key=YOUR_API_KEY_HERE' \
-H 'Accept-Encoding: gzip' \
-H 'Content-Type: application/xml; charset=utf-8' \
-d '<?xml version="1.0" encoding="utf-8"?>
<equipment>
<name>Forklift 2</name>
</equipment> 'Response
<?xml version="1.0" encoding="utf-8"?>
<equipment>
<id readonly="readonly">9552</id>
<account_id readonly="readonly">1296</account_id>
<name>Forklift 2</name>
<notes>Picking it up and Putting it down</notes>
<third_party_id>QWERTYUIOP</third_party_id>
<model>Crown</model>
<serial>53476435482</serial>
<group_ids>1,501,4833</group_ids>
<tag_ids>24,2008</tag_ids>
</equipment>