Request

Response

    Retrieve Operations for a Product
    GET

    products/{productId}/operations

    Retrieves a paginated list of operations associated with the specified product, optionally filtered and sorted. When additional results are available, the pagination object in the response payload provides a “nextUrl” that links to the next page of results.

    Resource Information

    Method and URI
    GET
    https://api.aps.autodesk.com/fusion-operations/v2/products/{productId}/operations
    Authentication Context
    No security required
    Required OAuth Scopes
    data:read data:write
    Data Format
    JSON

    Request

    URI Parameters

    productId
    int
    The unique identifier of the Product to which the operations belong.

    Request

    Query String Parameters

    filter[id]
    int
    Filter Operations matching the specified id.
    filter[code]
    string
    Filter Operations matching the specified code. Pass the value as URL‑encoded.
    filter[section.id]
    int
    Filter product’s Operations belonging to the specified section.
    filter[section.name]
    string
    Filter product’s Operations belonging to the specified section. Pass the value as URL‑encoded.
    filter[disabled]
    boolean
    Filter Operations by status. If true, returns only disabled Operations; if false or omitted, returns only enabled Operations.
    filter[machine.id]
    int
    Filter product’s Operations that can be performed by the Machine with the specified id.
    filter[machine.code]
    string
    Filter product’s Operations that can be performed by the Machine with the specified code. Pass the value as URL‑encoded.
    limit
    int
    The maximum number of results. Defaults to 25.
    offset
    int
    Page offset. Default value is 0.
    sort
    string
    Comma separated fields to sort items by. Fields: id, code, productionFlowOrder. Default: “productionFlowOrder asc”.

    Response

    HTTP Status Code Summary

    200
    OK
    List of operations associated with the specified product, including pagination details.
    400
    Bad Request
    Bad request due to invalid data.
    401
    Unauthorized
    The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request.
    403
    Forbidden
    The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request.
    404
    Not Found
    The resource in the path does not exist.
    429
    Too Many Requests
    Rate limit exceeded; wait some time before retrying.
    500
    Internal Server Error
    An unknown server-side error occurred. Please try again later. If the problem persists, please contact support.

    Response

    Header (429)

    Retry-After
    integer
    The number of seconds to wait before retrying the request.

    Response

    Body Structure (200)

    Expand all
    results
    array: object
    List of operations
    id
    int
    Unique identifier of the Operation.
    code
    string
    Max length: 255
    name
    string
    Max length: 255
    notes
    string
    Max length: 5000
    wasteCodes
    array: object
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    taskDuration
    object
    Current active Task Duration. Considering the validSince date.
    id
    int
    Unique identifier of the Task Duration.
    validSince
    string
    Valid Since date (e.g. 2017-06-21)
    cycleTime
    string
    Cycle Time (ISO 8601 duration, e.g. PT3H15M30S)
    customerTime
    string
    Customer Time (ISO 8601 duration, e.g. PT3H15M30S)
    quantityRatio
    number
    Quantity Ratio
    leadTime
    number
    timesPerProduct
    number
    productionFlowOrder
    int
    parameters
    array: object
    id
    int
    Unique identifier of the variable parameter.
    name
    string
    type
    object
    Possible values: NUMERIC, TEXT, SINGLE_SELECT, SIGNATURE, IMAGE
    checklists
    array: object
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    name
    string
    Name of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    machines
    array: object
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    name
    string
    Name of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    section
    id
    int
    Unique identifier of the referenced entity.
    name
    string
    Name of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    labels
    array: object
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    maxWasteAllowed
    number
    workInstructions
    array: object
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    unitOfMeasurement
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    name
    string
    Name of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    teamOperation
    boolean
    allowInputLot
    boolean
    allowInputRecoverySerialNumber
    boolean
    multi
    boolean
    noQuantityRecord
    boolean
    noTimeRecord
    boolean
    optional
    boolean
    prepareBatchOrder
    boolean
    enableBarcodePrint
    boolean
    quantityOnCheckIn
    boolean
    disabled
    boolean
    recovery
    boolean
    pagination
    object
    limit
    int
    Maximum number of results returned in this page.
    offset
    int
    Number of results skipped before this page.
    nextUrl
    string
    URL for the next page of results. Null when there are no additional pages.

    Example

    List of operations associated with the specified product, including pagination details.

    Request

    curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/products/:productId/operations' \
      -H 'Authorization: '
    

    Response

    {
      "results": [
        {
          "id": 2,
          "code": "Setup",
          "name": "Setup",
          "notes": "Setup operation notes",
          "wasteCodes": [
            {
              "id": 5,
              "code": "SetupWaste"
            }
          ],
          "taskDuration": {
            "id": 8,
            "validSince": "2025-01-25",
            "cycleTime": "PT1H13M30S",
            "customerTime": "PT2H15M30S",
            "quantityRatio": 2
          },
          "leadTime": 12,
          "timesPerProduct": 1,
          "productionFlowOrder": 1,
          "parameters": [
            {
              "name": "Voltage",
              "type": "NUMERIC"
            }
          ],
          "checklists": [
            {
              "id": 22,
              "code": "SetupChecklist",
              "name": "First checklist to follow"
            }
          ],
          "machines": [
            {
              "id": 7,
              "code": "Machine A",
              "name": "Machine A"
            }
          ],
          "section": {
            "id": 4,
            "name": "Assembly"
          },
          "labels": [
            {
              "id": 6,
              "code": "Critical"
            }
          ],
          "maxWasteAllowed": 2.0,
          "workInstructions": [
            {
              "id": 9,
              "code": "SetupInstructions"
            }
          ],
          "unitOfMeasurement": {
            "id": 3,
            "code": "Each",
            "name": "Each"
          },
          "teamOperation": false,
          "allowInputLot": true,
          "allowInputRecoverySerialNumber": false,
          "multi": false,
          "noQuantityRecord": false,
          "noTimeRecord": false,
          "optional": false,
          "prepareBatchOrder": false,
          "enableBarcodePrint": false,
          "quantityOnCheckIn": false,
          "disabled": false,
          "recovery": false
        },
        {
          "id": 3,
          "code": "Mounting",
          "name": "Mounting",
          "notes": "Mounting operation notes",
          "wasteCodes": [],
          "taskDuration": {
            "id": 8,
            "validSince": "2025-01-01",
            "cycleTime": "PT1H13M30S",
            "customerTime": "PT2H15M30S",
            "quantityRatio": 2
          },
          "leadTime": 12,
          "timesPerProduct": 1,
          "productionFlowOrder": 1,
          "parameters": [
            {
              "name": "Voltage",
              "type": "NUMERIC"
            }
          ],
          "checklists": [],
          "machines": [],
          "section": {
            "id": 4,
            "name": "Assembly"
          },
          "labels": [],
          "maxWasteAllowed": 2.0,
          "workInstructions": [],
          "unitOfMeasurement": {
            "id": 3,
            "code": "Each",
            "name": "Each"
          },
          "teamOperation": false,
          "allowInputLot": true,
          "allowInputRecoverySerialNumber": false,
          "multi": false,
          "noQuantityRecord": false,
          "noTimeRecord": false,
          "optional": false,
          "prepareBatchOrder": false,
          "enableBarcodePrint": false,
          "quantityOnCheckIn": false,
          "disabled": false,
          "recovery": false
        }
      ],
      "pagination": {
        "limit": 20,
        "offset": 0,
        "nextUrl": null
      }
    }
    
    Show More