Back to Aligni.com
Also see show action for detailed XML parttype response example.

Updates a parttype record.

Examples

# request
curl -X PUT -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<parttype>
  <name>Condenser #2</name>
  <attrition>5.5</attrition>
</parttype>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/parttype/63

# response (for detailed parttype XML see show action)
<parttype>
  ...
</parttype>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a number.