Request

Response

    Retrieve Production Records
    GET

    production-records

    Retrieves a paginated list of all Production Records, 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/production-records
    Authentication Context
    No security required
    Required OAuth Scopes
    data:read data:write
    Data Format
    JSON

    Request

    Query String Parameters

    filter[id]
    int
    Filter Production Records matching the specified id.
    filter[startTime]
    string
    Filter Production Records by startTime. Accepts an ISO-8601 date time or an inclusive date time range in the format lowerValue..upperValue, lowerValue.., or ..upperValue. Returns Production Records started within the specified range.
    filter[endTime]
    string
    Filter Production Records by end time. Accepts an ISO-8601 date time or an inclusive date time range in the format lowerValue..upperValue, lowerValue.., or ..upperValue. Returns Production Records with end time within the specified date time or range.
    filter[shipping.id]
    int
    Filter Production Records of the Production Order associated to the shipping id.
    filter[shipping.code]
    string
    Filter Production Records of the Production Order associated to the shipping code. Pass the value as URL‑encoded.
    filter[productionOrder.id]
    int
    Filter Production Records by Production Order id.
    filter[productionOrder.code]
    string
    Filter Production Records by the Production Order code. Multiple Production Orders can have the same code. Pass the value as URL‑encoded.
    filter[product.id]
    int
    Filter Production Records of Product id.
    filter[product.code]
    string
    Filter Production Records of the Product code. Pass the value as URL‑encoded.
    filter[operation.id]
    int
    Filter Production Records of operation id.
    filter[operation.code]
    string
    Filter Production Records of the operation code. Multiple operations can have the same code. Pass the value as URL‑encoded.
    filter[quantity]
    string
    Filter Production Records by quantity. Accepts a range in the format lowerValue..upperValue, lowerValue.., or ..upperValue. Returns Production Records with quantity within the specified range.
    filter[section.id]
    int
    Filter Production Records by the section of the operation or machine associated to the Production Record.
    filter[section.name]
    string
    Filter Production Records by the section of the operation or machine associated to the Production Record. Pass the value as URL‑encoded.
    filter[worker.id]
    int
    Filter Production Records by worker id.
    filter[worker.number]
    int
    Filter Production Records by worker number.
    filter[workerGroup.id]
    int
    Filter Production Records by worker of the worker group id.
    filter[workerGroup.name]
    string
    Filter Production Records by worker of the worker group name. Pass the value as URL‑encoded.
    filter[machine.id]
    int
    Filter Production Records by machine id.
    filter[machine.code]
    string
    Filter Production Records by machine code. Pass the value as URL‑encoded.
    filter[lot.id]
    int
    Filter Production Records by lot id.
    filter[lot.code]
    string
    Filter Production Records by lot. Pass the value as URL‑encoded.
    filter[noProductionOrder]
    boolean
    When set to true, only Production Records not linked to any Production Order are returned. When set to false, Production Records linked to Production Orders are also included. When nothing is sent, return all Production Records.
    filter[rework]
    boolean
    When set to true, only Production Records marked as rework are returned. When set to false, Production Records marked as rework are excluded. When nothing is sent, return all Production Records.
    filter[training]
    boolean
    When set to true, only Production Records performed during training sessions are returned. When set to false, Production Records performed during training sessions are excluded. When nothing is sent, return all Production Records.
    filter[finished]
    boolean
    When set to true, only Production Records marked as finished are returned. When set to false, Production Records that are not yet finished are returned. When nothing is sent, return all Production Records.
    limit
    int
    Maximum number of results returned. Defaults to 25.
    offset
    int
    Page offset. Default value is 0.
    sort
    string
    Comma separated fields to sort items by. Fields: id, startTime, endTime. Default: “startTime desc”.

    Response

    HTTP Status Code Summary

    200
    OK
    A list of Production Records.
    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.
    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 Production Records
    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
    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

    A list of Production Records.

    Request

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

    Response

    {
      "results": [
        {
          "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",
          "timeSpent": "PT1H35M0S",
          "timeEstimated": "PT0H5M0S",
          "quantity": 5.0,
          "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"
          }
        },
        {
          "id": 74524,
          "productionOrder": {
            "id": 383,
            "code": "PO-1002"
          },
          "product": {
            "id": 45,
            "code": "ProductX",
            "name": "Product X 100"
          },
          "operation": {
            "id": 151,
            "code": "OP-5002",
            "name": "Operation 5002"
          },
          "worker": {
            "id": 21,
            "name": "Worker 201",
            "number": 201
          },
          "machine": {
            "id": 11,
            "code": "MC-101",
            "name": "Machine 101"
          },
          "startTime": "2024-04-01T12:00:00Z",
          "endTime": "2024-04-01T13:15:00Z",
          "quantity": 3.0,
          "finished": true,
          "team": "bbb50b35-f1cb-446e-8dbc-e83455cfadde",
          "lot": {
            "id": 79,
            "code": "LOT12346"
          },
          "cost": 90.5,
          "boxes": "4,5",
          "wastes": null,
          "parameters": null,
          "consumptions": null,
          "finishedBy": {
            "id": 26,
            "name": "Worker 251",
            "number": 251
          },
          "rework": true,
          "training": true
        }
      ],
      "pagination": {
        "limit": 20,
        "offset": 0,
        "nextUrl": null
      }
    }
    
    Show More