N1Developer docsv1

TYPE REFERENCE

QcRecordConnection

Referenced by 1 generated operations.

Documented fields

  • edges[QcRecordEdge!]!Required

    The rows on this page, in order.

    Example: [{"cursor":"WyIyMDI2LTEwLTEwVDE3OjAwOjAwLjAwMFoiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNTAwMDQiXQ","node":{"id":"0192f0c1-0000-7000-8000-000000d50004","jobCardId":"0192f0c1-0000-7000-8000-000000d2001f","jobOperationId":"0192f0c1-0000-7000-8000-000000d30137","qrValue":"JC-00003","kind":"MACHINE","stage":"In-process QC","operationName":"Turning","result":"PASSED","remark":null,"inspector":"Gita Demo","report":null,"rejectedMaterial":null,"recordedById":"0192f0c1-0000-7000-8000-0000000000a7","recordedByName":"Gita Demo","recordedAt":"2026-10-10T17:00:00.000Z"}},{"cursor":"WyIyMDI2LTEwLTEwVDExOjAwOjAwLjAwMFoiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNTAwMGMiXQ","node":{"id":"0192f0c1-0000-7000-8000-000000d5000c","jobCardId":"0192f0c1-0000-7000-8000-000000d2005b","jobOperationId":"0192f0c1-0000-7000-8000-000000d3038f","qrValue":"JC-00009","kind":"MACHINE","stage":"In-process QC","operationName":"Turning","result":"FAILED","remark":"Diameter 0.04 mm over the upper tolerance.","inspector":"Gita Demo","report":null,"rejectedMaterial":null,"recordedById":"0192f0c1-0000-7000-8000-0000000000a7","recordedByName":"Gita Demo","recordedAt":"2026-10-10T11:00:00.000Z"}},{"cursor":"WyIyMDI2LTEwLTEwVDA1OjAwOjAwLjAwMFoiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNTAwMTUiXQ","node":{"id":"0192f0c1-0000-7000-8000-000000d50015","jobCardId":"0192f0c1-0000-7000-8000-000000d20097","jobOperationId":"0192f0c1-0000-7000-8000-000000d305e7","qrValue":"JC-00015","kind":"MACHINE","stage":"In-process QC","operationName":"Turning","result":"PASSED","remark":null,"inspector":"Gita Demo","report":null,"rejectedMaterial":null,"recordedById":"0192f0c1-0000-7000-8000-0000000000a7","recordedByName":"Gita Demo","recordedAt":"2026-10-10T05:00:00.000Z"}}]

    Show children
    • cursorString!Required

      Opaque position of this row in the list.

      Example: "WyIyMDI2LTEwLTEwVDE3OjAwOjAwLjAwMFoiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNTAwMDQiXQ"

    • nodeQcRecord!Required

      The QcRecord.

      Example: {"id":"0192f0c1-0000-7000-8000-000000d50004","jobCardId":"0192f0c1-0000-7000-8000-000000d2001f","jobOperationId":"0192f0c1-0000-7000-8000-000000d30137","qrValue":"JC-00003","kind":"MACHINE","stage":"In-process QC","operationName":"Turning","result":"PASSED","remark":null,"inspector":"Gita Demo","report":null,"rejectedMaterial":null,"recordedById":"0192f0c1-0000-7000-8000-0000000000a7","recordedByName":"Gita Demo","recordedAt":"2026-10-10T17:00:00.000Z"}

      Show children
      • idID!Required

        Stable id (UUIDv7).

        Example: "0192f0c1-0000-7000-8000-000000d50004"

      • inspectorStringOptional

        Inspector’s name.

        Example: "Gita Demo"

      • jobCardIdID!Required

        The job card checked.

        Example: "0192f0c1-0000-7000-8000-000000d2001f"

      • jobOperationIdIDOptional

        The step checked; null for a raw material check.

        Example: "0192f0c1-0000-7000-8000-000000d30137"

      • kindQcKind!Required

        What was checked.

        Example: "MACHINE"

        • MACHINEA finished operation.
        • RMThe raw material, before the first operation.
      • operationNameStringOptional

        What the step does; null for a raw material check.

        Example: "Turning"

      • qrValueString!Required

        The job card’s QR text.

        Example: "JC-00003"

      • recordedAtString!Required

        UTC time the check was recorded.

        Example: "2026-10-10T17:00:00.000Z"

      • recordedByIdID!Required

        Who made the check (User.id).

        Example: "0192f0c1-0000-7000-8000-0000000000a7"

      • recordedByNameString!Required

        That person’s name.

        Example: "Gita Demo"

      • rejectedMaterialRejectedMaterialOptional

        Set on a raw material rejection.

        Example: null

        Show children
        • gradeString!Required

          Raw material grade.

        • heatNumberString!Required

          Heat number.

        • sizeString!Required

          Raw material size.

      • remarkStringOptional

        Inspector’s remark.

        Example: null

      • reportAppFileReferenceOptional

        The inspection report.

        Example: null

        Show children
        • idID!Required

          File id; obtain authorised download URL from files API.

        • kindStringOptional

          Document category.

        • nameString!Required

          Display filename.

        • sizeBytesFloat!Required

          Size in bytes, safe integer.

      • resultQcResult!Required

        The outcome.

        Example: "PASSED"

        • ACCEPTEDRaw material accepted.
        • FAILEDOperation failed.
        • PASSEDOperation passed.
        • REJECTEDRaw material rejected.
      • stageString!Required

        Label shown in the app: “Incoming inspection”, “In-process QC” or “Final QC”.

        Example: "In-process QC"

  • pageInfoPageInfo!Required

    Whether more pages exist, and the cursors to reach them.

    Example: {"hasNextPage":true,"hasPreviousPage":false,"endCursor":"WyIyMDI2LTEwLTEwVDA1OjAwOjAwLjAwMFoiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNTAwMTUiXQ"}

    Show children
    • endCursorStringOptional

      Cursor of the last row; pass it as after to get the next page. Null when the page is empty.

      Example: "WyIyMDI2LTEwLTEwVDA1OjAwOjAwLjAwMFoiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNTAwMTUiXQ"

    • hasNextPageBoolean!Required

      Whether another page follows this one.

      Example: true

    • hasPreviousPageBoolean!Required

      Whether another page comes before this one.

      Example: false

    • startCursorStringOptional

      Cursor of the first row; pass it as before to page backwards. Null when the page is empty.

  • totalCountInt!Required

    All rows matching the filter and search, not just this page.

    Example: 34

Used by

Search documentation

Search operations, types and errors from the generated contract.