Back to Aligni.com

Create a new part revision.

Examples

# request
curl -X POST -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<part_revision>
  <revision_name>A05</revision_name>
  <revision_description>A05 modified</revision_description>
</part_revision>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/parts/754/revisions?id=199&copy_subparts=false

# response (For detailed part revision XML see the index action.)
<part_revision>
  ...
</part_revision>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
part_id
required

New revision will be created for this part.


Value: Must be a number.
source_part_revision_id
required

New revision will be based on this one.


Value: Must be a number.
copy_subparts
optional

Copy the subparts from the source revision. Defaults to 'true'.


Value: Must be one of: <code>true</code>, <code>false</code>.