Request

Response

    Retrieve Production Record by id
    GET

    production-records/{productionRecordId}

    Fetches a single Production Record identified by the specified unique Production Record id.

    Resource Information

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

    Request

    URI Parameters

    productionRecordId
    int
    Unique identifier of the Production Record.

    Response

    HTTP Status Code Summary

    200
    OK
    Production Record details retrieved successfully.
    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 Production Order.
    productionOrder
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    product
    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
    operation
    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
    worker
    id
    int
    number
    int
    name
    string
    Max length: 255
    anyOf
    0
    1
    machine
    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
    startTime
    datetime: ISO 8601
    Start time of the Production Record (e.g. 2025-06-21T14:07:17Z)
    endTime
    datetime: ISO 8601
    End time of the Production Record (e.g. 2025-06-21T15:07:17Z). During the production execution, this value is equal to the start time.
    timeSpent
    string
    Duration the Production Record took (ISO 8601 duration, e.g. PT3H15M30S).
    timeEstimated
    string
    Estimated duration for the Production Record (ISO 8601 duration, e.g. PT2H15M30S).
    quantity
    number
    Quantity produced in this Production Record.
    finished
    boolean
    Indicates whether the Production Record is finished.
    teamId
    string
    identifier of the team associated with the Production Record when using team operations.
    lot
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    cost
    number
    Cost associated with the Production Record.
    boxes
    string
    Box numbers associated with the Production Record. Separated by commas.
    wastes
    array: object
    List of Waste records associated with the Production Record.
    id
    int
    Unique identifier of the Waste record.
    wasteCode
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    quantity
    number
    Quantity of Waste produced.
    parameters
    array: object
    List of parameters associated with the Production Record.
    name
    string
    value
    string
    consumptions
    array: object
    List of consumptions associated with the Production Record.
    id
    int
    Unique identifier of the Consumption record.
    product
    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
    quantity
    number
    Quantity of the Product consumed.
    lot
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    0
    1
    finishedBy
    id
    int
    number
    int
    name
    string
    Max length: 255
    anyOf
    0
    1
    rework
    boolean
    Indicates whether the Production Record is a rework.
    training
    boolean
    Indicates whether the Production Record was performed during a training session.
    site
    Site associated with the Production Record.
    id
    int
    Unique identifier of the referenced entity.
    code
    string
    Code of the referenced entity.

    Max length: 255

    anyOf
    Site associated with the Production Record.
    0
    1

    Example

    Production Record details retrieved successfully.

    Request

    curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/production-records/:productionRecordId' \
      -H 'Authorization: '
    

    Response

    {
      "id": 74523,
      "productionOrder": {
        "id": 382,
        "code": "PO-1001"
      },
      "product": {
        "id": 45,
        "code": "ProductX",
        "name": "Product X 100"
      },
      "operation": {
        "id": 150,
        "code": "OP-5001",
        "name": "Operation 5001"
      },
      "worker": {
        "id": 20,
        "name": "Worker 200",
        "number": 200
      },
      "machine": {
        "id": 10,
        "code": "MC-100",
        "name": "Machine 100"
      },
      "startTime": "2024-04-01T10:00:00Z",
      "endTime": "2024-04-01T11:35:00Z",
      "quantity": 5.0,
      "timeSpent": "PT1H35M0S",
      "timeEstimated": "PT0H5M0S",
      "finished": true,
      "team": null,
      "lot": {
        "id": 78,
        "code": "LOT12345"
      },
      "cost": 0.0,
      "boxes": null,
      "wastes": [
        {
          "quantity": 0.5,
          "wasteCode": {
            "id": 301,
            "code": "WST-01"
          }
        },
        {
          "quantity": 0.2,
          "wasteCode": {
            "id": 302,
            "code": "WST-02"
          }
        }
      ],
      "parameters": [
        {
          "code": "Temp",
          "value": "200C"
        },
        {
          "code": "Pressure",
          "value": "5bar"
        }
      ],
      "consumptions": [
        {
          "id": 8131,
          "quantity": 2.0,
          "product": {
            "id": 60,
            "code": "MaterialA",
            "name": "Material A"
          },
          "lot": {
            "id": 501,
            "code": "MAT-LOT-001"
          }
        },
        {
          "id": 74524,
          "quantity": 1.5,
          "product": {
            "id": 61,
            "code": "MaterialB",
            "name": "Material B"
          },
          "lot": {
            "id": 502,
            "code": "MAT-LOT-002"
          }
        }
      ],
      "finishedBy": {
        "id": 25,
        "name": "Worker 250",
        "number": 250
      },
      "rework": false,
      "training": false,
      "site": {
        "id": 12,
        "code": "SITE-01"
      }
    }
    
    Show More