Back to Aligni.com

Retrieve one particular part revision.

Examples

# request
curl -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/parts/728/revisions/231
# response
<part_revision>
  <id>206</id>
  <revision_name>A</revision_name>
  <revision_description/>
  <creator_id>8</creator_id>
  <released_at>2016-01-24 20:11:47 -0800</released_at>
  <releasor_id>8</releasor_id>
  <comment></comment>
  <description>Assembly to test unit handling</description>
  <rohs>1</rohs>
  <status>Active</status>
  <x_mass value_text="3.5">3.5</x_mass>
  <part>
    <id>761</id>
    <partnumber>000226</partnumber>
    <manufacturer_pn>ASSY-TESTUNITS</manufacturer_pn>
    <manufacturer_id>170</manufacturer_id>
    <parttype_id>55</parttype_id>
    <value/>
    <value_text></value_text>
    <created_on>2011-11-10 18:03:19 -0800</created_on>
    <updated_on>2015-02-28 15:02:26 -0800</updated_on>
    <inventory_price>10.0</inventory_price>
    <reorder_quantity>100</reorder_quantity>
    <inventory_maximum>110</inventory_maximum>
  </part>
  <subparts>
    <subpart>
      <id>100</id>
      <part_id>565</part_id>
      <part_revision_id>206</part_revision_id>
      <quantity>3</quantity>
      <comment></comment>
      <designator>C1, C2, C3</designator>
      <no_load>false</no_load>
      <position>1</position>
    </subpart>
    ...
  </subparts>
</part_revision>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Revision ID


Value: Must be a number.
part_id
required

ID of the part to which the part revision belongs.


Value: Must be a number.