Request

Response

    Retrieve Operation from Operations of a Product by id
    GET

    products/{productId}/operations/{operationId}

    Fetches a single operation identified by the specified unique operation id and the Product id.

    Resource Information

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

    Request

    Headers

    Authorization*
    string
    JWT Access Token
    * Required

    Request

    URI Parameters

    productId
    int
    The unique identifier of the Product to which the operation belongs.
    operationId
    int
    The unique identifier of the Operation to retrieve.

    Response

    HTTP Status Code Summary

    200
    OK
    The Operation entity.
    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
    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

    Example

    The Operation entity.

    Request

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

    Response

    {
      "id": 2,
      "code": "Setup",
      "name": "Setup",
      "notes": "Setup operation notes",
      "wasteCodes": [
        {
          "id": 5,
          "code": "SetupWaste"
        }
      ],
      "taskDuration": {
        "id": 8,
        "validSince": "2025-01-01",
        "cycleTime": "PT1H15M30S",
        "customerTime": "PT3H15M30S",
        "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
    }
    
    Show More