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

Create a new parttype.

Examples

# request
curl -X POST -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<parttype>
  <name>Condenser</name>
  <attrition>6.0</attrition>
  <is_non_material>false</is_non_material>
</parttype>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/parttype

# 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