Back to Aligni.com

GET /api/v2/:api_token/builds
List builds.

Retrieve the list of all builds.

Examples

# request
curl -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/builds

# Filtering
# Currently, filtering functionality is limited to "gte"
# (greater than or equal to) operator on build date fields. This returns all builds on <filter date>
# or after an ISO8601-formatted date is appended to the URL request.
# Note: the ISO8601 date string must be properly encoded to form a compatible URI as shown in the example.
# Specifically, + must be replaced with %2B and : must be replaced with %3A.
curl -g -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/builds?filter[created_on][gte]=2019-10-02T11:15:28-07:00

# response
<builds>
  <build>
    <id>1</id>
    <description/>
    <quantity/>
    <created_on/>
    <part_id/>
    <allocated_at/>
    <allocated_by/>
    <initiated_at/>
    <initiated_by/>
    <completed_at/>
    <completed_by/>
    <start_date/>
    <end_date/>
    <next_date/>
    <drilldown/>
    <is_recurring/>
    <recurrence_rate/>
    <expected_completion_date/>
    <part_revision_id/>
    <part_revision_name/>
    <deviations_pdf/>
    <notes/>
    <material_cost/>
    <inventory_location_id/>
    <unit_cost/>
    <finalized_unit_cost_selection/>
    <finalized_estimated_unit_cost/>
    <finalized_computed_unit_cost/>
    <finalized_manual_unit_cost/>
    <unique_number/>
    <updated_at/>
  </build>
</builds>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
page
optional

Fetch requested page.


Value: Must be a Integer
per_page
optional

Value: Must be a Integer