N1Developer docsv1

TESTED LIVE

Job cards

50 real calls against a live Core. Open a call for its headers, request and response.

assignJobOperation

087JobCardDetails · assign-operatorsupervisorPOST /graphql200 OKAs expected25 ms
Operation
assignJobOperation
Request id
01a14ba9-9bf5-7e9d-a301-7cc6fcf6c98c
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-087",
  "content-type": "application/json"
}

Query

mutation AuditAssignOp($op: ID!, $user: ID!) { assignJobOperation(operationId: $op, operatorId: $user) { id status operations { ...OP } } }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }

Variables

{
  "op": "01a14ba6-e670-7383-a269-879726ac44d1",
  "user": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "assignJobOperation": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "status": "NOT_STARTED",
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
          "operatorName": "Demo Operator",
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ]
    }
  }
}
113JobCardDetails · assign-operator-new-cardsupervisorPOST /graphql200 OKAs expected31 ms
Operation
assignJobOperation
Request id
01a14ba9-ba42-7c01-8da7-5f03d6a25ff4
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-113",
  "content-type": "application/json"
}

Query

mutation AuditAssignOp2($op: ID!, $user: ID!) { assignJobOperation(operationId: $op, operatorId: $user) { id } }

Variables

{
  "op": "01a14ba9-9526-7005-9d4b-344c1748fdc3",
  "user": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "assignJobOperation": {
      "id": "01a14ba9-79f7-727d-9878-213ff050bcf7"
    }
  }
}
173Flow · assign-1supervisorPOST /graphql200 OKAs expected26 ms
Operation
assignJobOperation
Request id
01a14ba9-fedf-7103-96e7-6ba5fdae3d73
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-173",
  "content-type": "application/json"
}

Query

mutation AuditFlowAssign($op: ID!, $user: ID!) { assignJobOperation(operationId: $op, operatorId: $user) { id } }

Variables

{
  "op": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
  "user": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "assignJobOperation": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf"
    }
  }
}
174Flow · assign-2supervisorPOST /graphql200 OKAs expected18 ms
Operation
assignJobOperation
Request id
01a14ba9-fffd-76af-9297-7a1bb679dcdd
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-174",
  "content-type": "application/json"
}

Query

mutation AuditFlowAssign($op: ID!, $user: ID!) { assignJobOperation(operationId: $op, operatorId: $user) { id } }

Variables

{
  "op": "01a14ba9-faba-72e6-b26a-13300ff83a09",
  "user": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "assignJobOperation": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf"
    }
  }
}
175Flow · assign-3supervisorPOST /graphql200 OKAs expected31 ms
Operation
assignJobOperation
Request id
01a14baa-0115-77e8-b9bf-3573aa44a483
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-175",
  "content-type": "application/json"
}

Query

mutation AuditFlowAssign($op: ID!, $user: ID!) { assignJobOperation(operationId: $op, operatorId: $user) { id } }

Variables

{
  "op": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
  "user": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "assignJobOperation": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf"
    }
  }
}

cancelJobCard

083JobCardsList · deleteownerPOST /graphql200 OKAs expected27 ms
Operation
cancelJobCard
Request id
01a14ba9-9746-7b3b-bcca-571996db4340
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-083",
  "content-type": "application/json"
}

Query

mutation AuditCancelCard($id: ID!) { cancelJobCard(id: $id) { id status } }

Variables

{
  "id": "01a14ba9-9657-7184-9d1e-fa6054419e91"
}

Response · HTTP 200

{
  "data": {
    "cancelJobCard": {
      "id": "01a14ba9-9657-7184-9d1e-fa6054419e91",
      "status": "NOT_STARTED"
    }
  }
}

completeJobStep

180OperatorJob · completeoperatorPOST /graphql200 OKAs expected43 ms
Operation
completeJobStep
Request id
01a14baa-06cf-787b-843c-e5471b045768
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-180",
  "content-type": "application/json"
}

Query

mutation AuditComplete($input: CompleteJobStepInput!) { completeJobStep(input: $input) { id status } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
    "good": 4,
    "reject": 0,
    "rework": 0,
    "scrap": 0
  }
}

Response · HTTP 200

{
  "data": {
    "completeJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS"
    }
  }
}
183JobCardDetails · complete-redooperatorPOST /graphql200 OKAs expected13 ms
Operation
completeJobStep
Request id
01a14baa-0a30-7409-83d4-177bb2cc8698
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-183",
  "content-type": "application/json"
}

Query

mutation AuditComplete($input: CompleteJobStepInput!) { completeJobStep(input: $input) { id status } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
    "good": 4,
    "reject": 0,
    "rework": 0,
    "scrap": 0
  }
}

Response · HTTP 200

{
  "data": {
    "completeJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS"
    }
  }
}
189JobCardDetails · complete-step-2operatorPOST /graphql200 OKAs expected266 ms
Operation
completeJobStep
Request id
01a14baa-10f2-7ae2-9a47-a9e25c578c52
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-189",
  "content-type": "application/json"
}

Query

mutation AuditComplete($input: CompleteJobStepInput!) { completeJobStep(input: $input) { id status } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-72e6-b26a-13300ff83a09",
    "good": 4,
    "reject": 0,
    "rework": 0,
    "scrap": 0
  }
}

Response · HTTP 200

{
  "data": {
    "completeJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS"
    }
  }
}
192JobCardDetails · complete-step-3operatorPOST /graphql200 OKAs expected45 ms
Operation
completeJobStep
Request id
01a14baa-1524-79bb-9e66-0fe3af838ebb
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-192",
  "content-type": "application/json"
}

Query

mutation AuditComplete($input: CompleteJobStepInput!) { completeJobStep(input: $input) { id status } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
    "good": 4,
    "reject": 0,
    "rework": 0,
    "scrap": 0
  }
}

Response · HTTP 200

{
  "data": {
    "completeJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "COMPLETED"
    }
  }
}

jobCard

067OrderDetails · loadownerPOST /graphql200 OKAs expected41 ms
Operation
order+customer+jobCard+invoices
Request id
01a14ba9-754b-7954-a88c-ba382118b85f
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOrderDetails($id: ID!, $cardId: ID!, $customerId: ID!) { order(id: $id) { ...ORD } customer(id: $customerId) { id name email mobile } jobCard(id: $cardId) { ...J } invoices(first: 2, filter: { orderId: $id }) { totalCount edges { node { id number status } } } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{
  "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "cardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "email": null,
      "mobile": ""
    },
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "invoices": {
      "totalCount": 0,
      "edges": []
    }
  }
}
068OrderDetails · load-without-customer-mobileownerPOST /graphql200 OKAs expected24 ms

Control: same screen with `phone` in place of the app `mobile`.

Operation
order+customer+jobCard+invoices
Request id
01a14ba9-7679-79c3-a594-3c15bd8d85d8
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOrderDetailsLive($id: ID!, $cardId: ID!, $customerId: ID!) { order(id: $id) { ...ORD } customer(id: $customerId) { id name email phone } jobCard(id: $cardId) { ...J } invoices(first: 2, filter: { orderId: $id }) { totalCount edges { node { id number status } } } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{
  "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "cardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "email": null,
      "phone": null
    },
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "invoices": {
      "totalCount": 0,
      "edges": []
    }
  }
}
084JobCardDetails · loadsupervisorPOST /graphql200 OKAs expected67 ms
Operation
jobCard+order+customer+organisation
Request id
01a14ba9-9866-7730-94b5-4d0256ad44ed
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditJobCardDetails($id: ID!, $orderId: ID!, $customerId: ID!) { jobCard(id: $id) { ...J } order(id: $orderId) { ...ORD } customer(id: $customerId) { id name billingAddress { state } } organisation { id gstState gstRegistered defaultTaxRate taxRates { id rate active } } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }

Variables

{
  "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "billingAddress": {
        "state": "Tamil Nadu"
      }
    },
    "organisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "gstState": "Tamil Nadu",
      "gstRegistered": true,
      "defaultTaxRate": 18,
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ]
    }
  }
}
107OperatorJob · load-by-idoperatorPOST /graphql200 OKAs expected7 ms

The app navigates with jobCardId and reloads by id.

Operation
jobCard
Request id
01a14ba9-b3e9-7639-b3c2-1844ee320d08
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOperatorJobById($id: ID!) { jobCard(id: $id) { id } }

Variables

{
  "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1"
    }
  }
}
112JobCardDetails · load-new-cardsupervisorPOST /graphql200 OKAs expected12 ms
Operation
jobCard
Request id
01a14ba9-b931-7b5a-9ce6-1ea1f1653c2b
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditNewCard($id: ID!) { jobCard(id: $id) { id operations { id seq } } }

Variables

{
  "id": "01a14ba9-79f7-727d-9878-213ff050bcf7"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba9-79f7-727d-9878-213ff050bcf7",
      "operations": [
        {
          "id": "01a14ba9-9526-7005-9d4b-344c1748fdc3",
          "seq": 1
        },
        {
          "id": "01a14ba9-9526-74c9-a661-5f42b123bda5",
          "seq": 2
        },
        {
          "id": "01a14ba9-9526-7b4e-ad68-d20e067d165c",
          "seq": 3
        },
        {
          "id": "01a14ba9-9527-71ae-81b7-1dc172daf880",
          "seq": 4
        }
      ]
    }
  }
}
122QcCheck · loadqcPOST /graphql200 OKAs expected12 ms
Operation
jobCard+me
Request id
01a14ba9-c40f-703e-b51d-2ba4a7682909
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditQcCheck($id: ID!) { jobCard(id: $id) { ...J } me { user { id name } } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{
  "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
      "orderId": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
      "code": "JOB3",
      "qrValue": "JC-00003",
      "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
      "customerName": "Demo Textile Machinery",
      "partName": "Gear blank",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 200,
      "priority": "MEDIUM",
      "dueDate": "2026-11-01",
      "status": "IN_PROGRESS",
      "designApproval": "APPROVED",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": {
        "id": "01a14ba6-e7e4-7d7a-9cfa-a05cff574f5d",
        "name": "synthetic-demo-drawing.pdf",
        "kind": "DESIGN",
        "sizeBytes": 0
      },
      "operations": [
        {
          "id": "01a14ba6-e65f-75d4-bf28-cbbe41f127f6",
          "seq": 1,
          "name": "Turning",
          "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
          "machineName": "CNC Lathe 1",
          "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
          "operatorName": "Demo Operator",
          "status": "RUNNING",
          "startedAt": "2026-10-17T20:56:32.063Z",
          "completedAt": null
        },
        {
          "id": "01a14ba6-e65f-7d50-be77-0daed0461d04",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e65f-7f06-96f5-34afdc3af49f",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e82f-78e9-b50d-88a90f1fb703",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": null,
          "recordedAt": "2026-10-17T20:56:32.044Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "me": {
      "user": {
        "id": "01a14ba6-e48b-766b-8c6b-8862bea47064",
        "name": "Demo Inspector"
      }
    }
  }
}
172Flow · load-cardsupervisorPOST /graphql200 OKAs expected13 ms
Operation
jobCard
Request id
01a14ba9-fdcc-7132-baf9-4bddb7097d89
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditFlowCard($id: ID!) { jobCard(id: $id) { id operations { id seq name } } }

Variables

{
  "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "operations": [
        {
          "id": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
          "seq": 1,
          "name": "Turning"
        },
        {
          "id": "01a14ba9-faba-72e6-b26a-13300ff83a09",
          "seq": 2,
          "name": "Milling"
        },
        {
          "id": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
          "seq": 3,
          "name": "Finishing"
        }
      ]
    }
  }
}

jobCardByQr

092ScanJob · scan-qrsupervisorPOST /graphql200 OKAs expected172 ms
Operation
jobCardByQr
Request id
01a14ba9-a14a-7ea1-87a6-1de08b6e0ffd
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditScan($qr: String!) { jobCardByQr(qrValue: $qr) { id orderId code qrValue operations { id name status } } }

Variables

{
  "qr": "JC-00004"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "name": "Turning",
          "status": "PENDING"
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "name": "Milling",
          "status": "PENDING"
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "name": "Finishing",
          "status": "PENDING"
        }
      ]
    }
  }
}
093EnterJobCode · enter-wo-codesupervisorPOST /graphql200 OKAs expected23 ms

The order WO number typed in.

Operation
jobCardByQr
Request id
01a14ba9-a307-76ea-9de9-2efc82964cdc
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditEnterCode($qr: String!) { jobCardByQr(qrValue: $qr) { id } }

Variables

{
  "qr": "WO-4"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1"
    }
  }
}
094EnterJobCode · enter-card-codesupervisorPOST /graphql200 OKAs expected11 ms

The printed card code typed by hand.

Operation
jobCardByQr
Request id
01a14ba9-a422-7fb4-a8c3-3bed5e2b72a5
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditEnterCardCode($qr: String!) { jobCardByQr(qrValue: $qr) { id code qrValue } }

Variables

{
  "qr": "JOB4"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "code": "JOB4",
      "qrValue": "JC-00004"
    }
  }
}
103ScanJob · scan-own-cardoperatorPOST /graphql200 OKAs expected10 ms
Operation
jobCardByQr
Request id
01a14ba9-afad-7962-9bc1-6068a1b9ab49
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditScanOp($qr: String!) { jobCardByQr(qrValue: $qr) { id orderId code operations { id name status operatorId } } }

Variables

{
  "qr": "JC-00004"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "name": "Turning",
          "status": "PENDING",
          "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "name": "Milling",
          "status": "PENDING",
          "operatorId": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "name": "Finishing",
          "status": "PENDING",
          "operatorId": null
        }
      ]
    }
  }
}
104ScanJob · scan-unassigned-cardoperatorPOST /graphql200 OKAs expected16 ms

The app lets an operator import any scanned job.

Operation
jobCardByQr
Request id
01a14ba9-b0bc-72b5-af49-16367a407891
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditScanOp2($qr: String!) { jobCardByQr(qrValue: $qr) { id } }

Variables

{
  "qr": "JC-00003"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792"
    }
  }
}
105OperatorJob · loadoperatorPOST /graphql200 OKAs expected8 ms
Operation
jobCardByQr
Request id
01a14ba9-b1d0-7567-a716-0ef4ca000cee
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOperatorJob($qr: String!) { jobCardByQr(qrValue: $qr) { ...J } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{
  "qr": "JC-00004"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
          "operatorName": "Demo Operator",
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    }
  }
}
106OperatorJob · step-machine-codeoperatorPOST /graphql200 OKAs expected8 ms

The app shows the machine code on each step (operations[].machine is a code).

Operation
jobCardByQr
Request id
01a14ba9-b2dc-7c84-b69e-5735b5035f8e
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOpMachineCode($qr: String!) { jobCardByQr(qrValue: $qr) { operations { id machineCode } } }

Variables

{
  "qr": "JC-00004"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "machineCode": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "machineCode": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "machineCode": null
        }
      ]
    }
  }
}
109AssignMachine · loadoperatorPOST /graphql200 OKAs expected16 ms
Operation
jobCardByQr+machines+me
Request id
01a14ba9-b600-7cd0-9366-3b043361a9ff
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditAssignMachineLoad($qr: String!) { jobCardByQr(qrValue: $qr) { id orderId partName jobName operations { ...OP } } machines(first: 10) { totalCount edges { node { id name code location status currentAssignment { id jobCardId jobOperationId operationName startedAt } } } } me { user { id name } } }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }

Variables

{
  "qr": "JC-00004"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "partName": "Bearing housing",
      "jobName": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
          "operatorName": "Demo Operator",
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ]
    },
    "machines": {
      "totalCount": 4,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e589-7248-a7e0-1239851b82aa",
            "name": "CNC Lathe 1",
            "code": "MC-851B82AA",
            "location": "Bay 1",
            "status": "RUNNING",
            "currentAssignment": {
              "id": "01a14ba6-e843-79ed-952f-25d5e9b3a2ed",
              "jobCardId": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
              "jobOperationId": "01a14ba6-e65f-75d4-bf28-cbbe41f127f6",
              "operationName": "Turning",
              "startedAt": "2026-10-17T20:56:32.063Z"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98",
            "name": "CNC Lathe 2",
            "code": "MC-137E4B98",
            "location": "Bay 1",
            "status": "IDLE",
            "currentAssignment": null
          }
        },
        {
          "node": {
            "id": "01a14ba6-e5d7-711c-bcba-22be75d5d8b4",
            "name": "Conventional Lathe 1",
            "code": "MC-75D5D8B4",
            "location": "Bay 3",
            "status": "MAINTENANCE",
            "currentAssignment": null
          }
        },
        {
          "node": {
            "id": "01a14ba6-e5b5-71f3-aaea-903c4d97acc6",
            "name": "VMC 1",
            "code": "MC-4D97ACC6",
            "location": "Bay 2",
            "status": "IDLE",
            "currentAssignment": null
          }
        }
      ]
    },
    "me": {
      "user": {
        "id": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
        "name": "Demo Operator"
      }
    }
  }
}
121ScanJob · scanqcPOST /graphql200 OKAs expected11 ms
Operation
jobCardByQr
Request id
01a14ba9-c2fe-7181-adb2-0622198fca22
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditScanQc($qr: String!) { jobCardByQr(qrValue: $qr) { id code } }

Variables

{
  "qr": "JC-00003"
}

Response · HTTP 200

{
  "data": {
    "jobCardByQr": {
      "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
      "code": "JOB3"
    }
  }
}

jobCards

017Discovery · live-idsownerPOST /graphql200 OKAs expected38 ms
Operation
customers+orders+jobCards+machines+quotes+invoices+users
Request id
01a14ba9-3c90-73b7-9e24-7ccc32cb13c5
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditDiscovery {
  customers(first: 10) { edges { node { id name billingAddress { city } } } }
  orders(first: 10) { edges { node { id number jobCardId customerId status routeCardNo poNumber } } }
  jobCards(first: 10) { edges { node { id orderId code qrValue status billing materialQc designApproval operations { id seq name status operatorId } } } }
  machines(first: 10) { edges { node { id code status } } }
  quotes(first: 10) { edges { node { id status orderId customerId } } }
  invoices(first: 10) { edges { node { id status orderId jobCardId } } }
  users(first: 30) { edges { node { id role name status } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "name": "Demo Agro Implements",
            "billingAddress": {
              "city": "Tiruppur"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "name": "Demo Auto Components",
            "billingAddress": {
              "city": "Tiruppur"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "name": "Demo Hydraulics",
            "billingAddress": {
              "city": "Bengaluru"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "name": "Demo Pumps & Valves",
            "billingAddress": {
              "city": "Coimbatore"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "name": "Demo Textile Machinery",
            "billingAddress": {
              "city": "Coimbatore"
            }
          }
        }
      ]
    },
    "orders": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "number": "WO-4",
            "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "status": "NEW",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-004"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "number": "WO-1",
            "jobCardId": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "status": "COMPLETED",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-001"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "number": "WO-2",
            "jobCardId": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "status": "PAYMENT_DUE",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-002"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
            "number": "WO-3",
            "jobCardId": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
            "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "status": "IN_PROGRESS",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-003"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e67d-7144-a636-1c77ab125e29",
            "number": "WO-5",
            "jobCardId": "01a14ba6-e67d-7757-8629-269f740c10ba",
            "customerId": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "status": "NEW",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-005"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e695-7d5c-b505-a59fd80251a9",
            "number": "WO-6",
            "jobCardId": "01a14ba6-e695-7571-8b02-2a50cf0c7c89",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "status": "NEW",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-006"
          }
        }
      ]
    },
    "jobCards": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "code": "JOB4",
            "qrValue": "JC-00004",
            "status": "NOT_STARTED",
            "billing": "NOT_INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "PENDING",
            "operations": [
              {
                "id": "01a14ba6-e670-7383-a269-879726ac44d1",
                "seq": 1,
                "name": "Turning",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "code": "JOB1",
            "qrValue": "JC-00001",
            "status": "COMPLETED",
            "billing": "INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "APPROVED",
            "operations": [
              {
                "id": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "seq": 1,
                "name": "Turning",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e627-719c-806b-ac64265762a5",
                "seq": 2,
                "name": "Milling",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "seq": 3,
                "name": "Finishing",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
            "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "code": "JOB2",
            "qrValue": "JC-00002",
            "status": "COMPLETED",
            "billing": "INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "APPROVED",
            "operations": [
              {
                "id": "01a14ba6-e64d-7037-9764-d88565c28617",
                "seq": 1,
                "name": "Turning",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e64d-74b2-b6a0-86adb5271663",
                "seq": 2,
                "name": "Milling",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e64d-7558-9888-cbe24e46077f",
                "seq": 3,
                "name": "Finishing",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
            "orderId": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
            "code": "JOB3",
            "qrValue": "JC-00003",
            "status": "IN_PROGRESS",
            "billing": "NOT_INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "APPROVED",
            "operations": [
              {
                "id": "01a14ba6-e65f-75d4-bf28-cbbe41f127f6",
                "seq": 1,
                "name": "Turning",
                "status": "RUNNING",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e65f-7d50-be77-0daed0461d04",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e65f-7f06-96f5-34afdc3af49f",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e67d-7757-8629-269f740c10ba",
            "orderId": "01a14ba6-e67d-7144-a636-1c77ab125e29",
            "code": "JOB5",
            "qrValue": "JC-00005",
            "status": "NOT_STARTED",
            "billing": "NOT_INVOICED",
            "materialQc": "REJECTED",
            "designApproval": "PENDING",
            "operations": [
              {
                "id": "01a14ba6-e682-7349-b544-8bd33b0c693f",
                "seq": 1,
                "name": "Turning",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e682-76bb-b257-93119fc4aadd",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e682-7879-8c84-2a65306245fb",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e695-7571-8b02-2a50cf0c7c89",
            "orderId": "01a14ba6-e695-7d5c-b505-a59fd80251a9",
            "code": "JOB6",
            "qrValue": "JC-00006",
            "status": "NOT_STARTED",
            "billing": "NOT_INVOICED",
            "materialQc": "PENDING",
            "designApproval": "PENDING",
            "operations": [
              {
                "id": "01a14ba6-e69b-7919-9161-b21877f4db19",
                "seq": 1,
                "name": "Turning",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e69b-7a95-ac75-3551e1cd0d72",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e69b-777e-8426-b9ebd85d207a",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        }
      ]
    },
    "machines": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e589-7248-a7e0-1239851b82aa",
            "code": "MC-851B82AA",
            "status": "RUNNING"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98",
            "code": "MC-137E4B98",
            "status": "IDLE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e5d7-711c-bcba-22be75d5d8b4",
            "code": "MC-75D5D8B4",
            "status": "MAINTENANCE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e5b5-71f3-aaea-903c4d97acc6",
            "code": "MC-4D97ACC6",
            "status": "IDLE"
          }
        }
      ]
    },
    "quotes": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
            "status": "SENT",
            "orderId": null,
            "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e678-7c29-b24d-e8d8f0d4ac48",
            "status": "DRAFT",
            "orderId": null,
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e"
          }
        }
      ]
    },
    "invoices": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc",
            "status": "NEW",
            "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "jobCardId": "01a14ba6-e649-75ad-bbc9-16d7ecd00878"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e818-7935-ad87-c0e2a7448c5a",
            "status": "PAID",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "jobCardId": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c"
          }
        }
      ]
    },
    "users": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e4e7-7b64-88ac-67a67b46b313",
            "role": "ACCOUNTANT",
            "name": "Demo Accountant",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e420-7894-9aa9-5dd131ee9c29",
            "role": "ADMIN",
            "name": "Demo Admin",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e48b-766b-8c6b-8862bea47064",
            "role": "QC",
            "name": "Demo Inspector",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
            "role": "OPERATOR",
            "name": "Demo Operator",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e3c9-75f4-bf79-c35ada7f69bd",
            "role": "OWNER",
            "name": "Demo Owner",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e442-7fae-b468-bf9fee75d9ec",
            "role": "SUPERVISOR",
            "name": "Demo Supervisor",
            "status": "ACTIVE"
          }
        }
      ]
    }
  }
}
037UserDetails · load-with-workownerPOST /graphql200 OKAs expected15 ms
Operation
user+jobCards(operatorIds)
Request id
01a14ba9-5300-71f2-a46f-b6521a82a0ff
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditUserDetails($id: ID!) { organisation { name } user(id: $id) { ...U } jobCards(first: 10, filter: { operatorIds: [$id] }, sort: { field: LAST_ACTIVITY, direction: DESC }) { totalCount edges { node { id code orderId partName jobName status billing materialQc operations { ...OP } qcHistory { id jobOperationId result } } } } }
fragment U on User { id name email phone designation department address city state pinCode country role status joinedAt hasPassword permissions { viewOrders manageUsers exportReports } photo { ...F } documents { ...F } activity(first: 5) { totalCount edges { node { id label detail at tone } } } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }

Variables

{
  "id": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "organisation": {
      "name": "Demo Coimbatore Works"
    },
    "user": {
      "id": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
      "name": "Demo Operator",
      "email": "operator@demo-coimbatore.demo.none1.in",
      "phone": null,
      "designation": "CNC operator",
      "department": "",
      "address": "",
      "city": "",
      "state": "",
      "pinCode": "",
      "country": "India",
      "role": "OPERATOR",
      "status": "ACTIVE",
      "joinedAt": "2026-10-17",
      "hasPassword": true,
      "permissions": {
        "viewOrders": false,
        "manageUsers": false,
        "exportReports": false
      },
      "photo": null,
      "documents": [],
      "activity": {
        "totalCount": 1,
        "edges": [
          {
            "node": {
              "id": "01a14ba6-e4a7-711b-86f0-5ae04fac9b2c",
              "label": "Joined organisation",
              "detail": null,
              "at": "2026-10-17T20:56:31.132Z",
              "tone": "INFO"
            }
          }
        ]
      }
    },
    "jobCards": {
      "totalCount": 3,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
            "code": "JOB2",
            "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "partName": "Valve spindle",
            "jobName": null,
            "status": "COMPLETED",
            "billing": "INVOICED",
            "materialQc": "ACCEPTED",
            "operations": [
              {
                "id": "01a14ba6-e64d-7037-9764-d88565c28617",
                "seq": 1,
                "name": "Turning",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.926Z",
                "completedAt": "2026-10-17T20:56:31.935Z"
              },
              {
                "id": "01a14ba6-e64d-74b2-b6a0-86adb5271663",
                "seq": 2,
                "name": "Milling",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.961Z",
                "completedAt": "2026-10-17T20:56:31.969Z"
              },
              {
                "id": "01a14ba6-e64d-7558-9888-cbe24e46077f",
                "seq": 3,
                "name": "Finishing",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.996Z",
                "completedAt": "2026-10-17T20:56:32.009Z"
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e7a8-77db-acee-562aa1f95c54",
                "jobOperationId": null,
                "result": "ACCEPTED"
              },
              {
                "id": "01a14ba6-e7ca-78c3-b223-6439975c728d",
                "jobOperationId": "01a14ba6-e64d-7037-9764-d88565c28617",
                "result": "PASSED"
              },
              {
                "id": "01a14ba6-e7ed-7385-b5c3-3780ee2e0fcf",
                "jobOperationId": "01a14ba6-e64d-74b2-b6a0-86adb5271663",
                "result": "PASSED"
              },
              {
                "id": "01a14ba6-e815-7a06-8e0a-b3b6ef8cf401",
                "jobOperationId": "01a14ba6-e64d-7558-9888-cbe24e46077f",
                "result": "PASSED"
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "code": "JOB1",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "partName": "Pump shaft",
            "jobName": null,
            "status": "COMPLETED",
            "billing": "INVOICED",
            "materialQc": "ACCEPTED",
            "operations": [
              {
                "id": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "seq": 1,
                "name": "Turning",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.745Z",
                "completedAt": "2026-10-17T20:56:31.760Z"
              },
              {
                "id": "01a14ba6-e627-719c-806b-ac64265762a5",
                "seq": 2,
                "name": "Milling",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.794Z",
                "completedAt": "2026-10-17T20:56:31.806Z"
              },
              {
                "id": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "seq": 3,
                "name": "Finishing",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.835Z",
                "completedAt": "2026-10-17T20:56:31.852Z"
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e6ed-7f91-8c5e-237cff65bf76",
                "jobOperationId": null,
                "result": "ACCEPTED"
              },
              {
                "id": "01a14ba6-e71d-75a5-8439-917f6e7cf411",
                "jobOperationId": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "result": "PASSED"
              },
              {
                "id": "01a14ba6-e74a-7e4f-90e1-25a0c36de538",
                "jobOperationId": "01a14ba6-e627-719c-806b-ac64265762a5",
                "result": "PASSED"
              },
              {
                "id": "01a14ba6-e788-78dc-9641-080fcb3f9712",
                "jobOperationId": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "result": "PASSED"
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
            "code": "JOB3",
            "orderId": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
            "partName": "Gear blank",
            "jobName": null,
            "status": "IN_PROGRESS",
            "billing": "NOT_INVOICED",
            "materialQc": "ACCEPTED",
            "operations": [
              {
                "id": "01a14ba6-e65f-75d4-bf28-cbbe41f127f6",
                "seq": 1,
                "name": "Turning",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "RUNNING",
                "startedAt": "2026-10-17T20:56:32.063Z",
                "completedAt": null
              },
              {
                "id": "01a14ba6-e65f-7d50-be77-0daed0461d04",
                "seq": 2,
                "name": "Milling",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e65f-7f06-96f5-34afdc3af49f",
                "seq": 3,
                "name": "Finishing",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e82f-78e9-b50d-88a90f1fb703",
                "jobOperationId": null,
                "result": "ACCEPTED"
              }
            ]
          }
        }
      ]
    }
  }
}
079JobCardsList · loadownerPOST /graphql200 OKAs expected60 ms
Operation
jobCards+orders
Request id
01a14ba9-923c-7b27-90cd-d5920ea37909
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditJobCardsList { jobCards(first: 2, sort: { field: DUE_DATE, direction: ASC }) { totalCount pageInfo { hasNextPage endCursor } edges { node { ...J } } } orders(first: 2) { edges { node { id jobCardId drawingNumber } } } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "jobCards": {
      "totalCount": 7,
      "pageInfo": {
        "hasNextPage": true,
        "endCursor": "WyIyMDI2LTEwLTI1IiwiMDFhMTRiYTYtZTYwYi03NmM5LTkwYTEtMmU0OGFjMGFmMjBjIl0"
      },
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "code": "JOB4",
            "qrValue": "JC-00004",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "customerName": "Demo Agro Implements",
            "partName": "Bearing housing",
            "jobName": null,
            "material": "EN8 steel",
            "quantity": 40,
            "priority": "HIGH",
            "dueDate": "2026-10-23",
            "status": "NOT_STARTED",
            "designApproval": "PENDING",
            "materialSource": "BOUGHT_OUT",
            "materialQc": "ACCEPTED",
            "quotation": "PENDING",
            "billing": "NOT_INVOICED",
            "designFile": null,
            "operations": [
              {
                "id": "01a14ba6-e670-7383-a269-879726ac44d1",
                "seq": 1,
                "name": "Turning",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
                "seq": 2,
                "name": "Milling",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
                "seq": 3,
                "name": "Finishing",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
                "kind": "RM",
                "stage": "Incoming inspection",
                "result": "ACCEPTED",
                "remark": "Material and size as per drawing",
                "recordedAt": "2026-10-17T20:56:32.134Z",
                "jobOperationId": null,
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "code": "JOB1",
            "qrValue": "JC-00001",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "customerName": "Demo Pumps & Valves",
            "partName": "Pump shaft",
            "jobName": null,
            "material": "EN8 steel",
            "quantity": 120,
            "priority": "HIGH",
            "dueDate": "2026-10-25",
            "status": "COMPLETED",
            "designApproval": "APPROVED",
            "materialSource": "BOUGHT_OUT",
            "materialQc": "ACCEPTED",
            "quotation": "PENDING",
            "billing": "INVOICED",
            "designFile": {
              "id": "01a14ba6-e69c-79b0-ae65-424de8a47a06",
              "name": "synthetic-demo-drawing.pdf",
              "kind": "DESIGN",
              "sizeBytes": 0
            },
            "operations": [
              {
                "id": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "seq": 1,
                "name": "Turning",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.745Z",
                "completedAt": "2026-10-17T20:56:31.760Z"
              },
              {
                "id": "01a14ba6-e627-719c-806b-ac64265762a5",
                "seq": 2,
                "name": "Milling",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.794Z",
                "completedAt": "2026-10-17T20:56:31.806Z"
              },
              {
                "id": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "seq": 3,
                "name": "Finishing",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.835Z",
                "completedAt": "2026-10-17T20:56:31.852Z"
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e6ed-7f91-8c5e-237cff65bf76",
                "kind": "RM",
                "stage": "Incoming inspection",
                "result": "ACCEPTED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.720Z",
                "jobOperationId": null,
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e71d-75a5-8439-917f6e7cf411",
                "kind": "MACHINE",
                "stage": "In-process QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.770Z",
                "jobOperationId": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e74a-7e4f-90e1-25a0c36de538",
                "kind": "MACHINE",
                "stage": "In-process QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.815Z",
                "jobOperationId": "01a14ba6-e627-719c-806b-ac64265762a5",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e788-78dc-9641-080fcb3f9712",
                "kind": "MACHINE",
                "stage": "Final QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.871Z",
                "jobOperationId": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              }
            ]
          }
        }
      ]
    },
    "orders": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "drawingNumber": null
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "jobCardId": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "drawingNumber": null
          }
        }
      ]
    }
  }
}
080JobCardsList · sort-unfinished-firstownerPOST /graphql200 OKAs expected58 ms

The app lists unfinished cards first, then by due date.

Operation
jobCards(sort)
Request id
01a14ba9-9381-7833-b4d8-861de3a7ebb7
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditJobCardsSort { jobCards(first: 5, sort: { field: STATUS, direction: ASC }) { totalCount } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "jobCards": {
      "totalCount": 7
    }
  }
}
090MyJobs · load-shop-cardssupervisorPOST /graphql200 OKAs expected11 ms

Fallback: every card in the shop.

Operation
jobCards
Request id
01a14ba9-9f2f-7580-a6f8-be8dce2d7b84
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditMyJobsSupCards { jobCards(first: 2) { totalCount edges { node { ...J } } } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "jobCards": {
      "totalCount": 7,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "code": "JOB4",
            "qrValue": "JC-00004",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "customerName": "Demo Agro Implements",
            "partName": "Bearing housing",
            "jobName": null,
            "material": "EN8 steel",
            "quantity": 40,
            "priority": "HIGH",
            "dueDate": "2026-10-23",
            "status": "NOT_STARTED",
            "designApproval": "PENDING",
            "materialSource": "BOUGHT_OUT",
            "materialQc": "ACCEPTED",
            "quotation": "PENDING",
            "billing": "NOT_INVOICED",
            "designFile": null,
            "operations": [
              {
                "id": "01a14ba6-e670-7383-a269-879726ac44d1",
                "seq": 1,
                "name": "Turning",
                "machineId": null,
                "machineName": null,
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
                "seq": 2,
                "name": "Milling",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
                "seq": 3,
                "name": "Finishing",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
                "kind": "RM",
                "stage": "Incoming inspection",
                "result": "ACCEPTED",
                "remark": "Material and size as per drawing",
                "recordedAt": "2026-10-17T20:56:32.134Z",
                "jobOperationId": null,
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "code": "JOB1",
            "qrValue": "JC-00001",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "customerName": "Demo Pumps & Valves",
            "partName": "Pump shaft",
            "jobName": null,
            "material": "EN8 steel",
            "quantity": 120,
            "priority": "HIGH",
            "dueDate": "2026-10-25",
            "status": "COMPLETED",
            "designApproval": "APPROVED",
            "materialSource": "BOUGHT_OUT",
            "materialQc": "ACCEPTED",
            "quotation": "PENDING",
            "billing": "INVOICED",
            "designFile": {
              "id": "01a14ba6-e69c-79b0-ae65-424de8a47a06",
              "name": "synthetic-demo-drawing.pdf",
              "kind": "DESIGN",
              "sizeBytes": 0
            },
            "operations": [
              {
                "id": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "seq": 1,
                "name": "Turning",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.745Z",
                "completedAt": "2026-10-17T20:56:31.760Z"
              },
              {
                "id": "01a14ba6-e627-719c-806b-ac64265762a5",
                "seq": 2,
                "name": "Milling",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.794Z",
                "completedAt": "2026-10-17T20:56:31.806Z"
              },
              {
                "id": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "seq": 3,
                "name": "Finishing",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.835Z",
                "completedAt": "2026-10-17T20:56:31.852Z"
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e6ed-7f91-8c5e-237cff65bf76",
                "kind": "RM",
                "stage": "Incoming inspection",
                "result": "ACCEPTED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.720Z",
                "jobOperationId": null,
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e71d-75a5-8439-917f6e7cf411",
                "kind": "MACHINE",
                "stage": "In-process QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.770Z",
                "jobOperationId": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e74a-7e4f-90e1-25a0c36de538",
                "kind": "MACHINE",
                "stage": "In-process QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.815Z",
                "jobOperationId": "01a14ba6-e627-719c-806b-ac64265762a5",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e788-78dc-9641-080fcb3f9712",
                "kind": "MACHINE",
                "stage": "Final QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.871Z",
                "jobOperationId": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              }
            ]
          }
        }
      ]
    }
  }
}
161JobCardsList · search-filterownerPOST /graphql200 OKAs expected31 ms
Operation
jobCards(search, filter)
Request id
01a14ba9-f162-7149-9b36-8b628ae91565
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCardsFilter($m: ID!, $o: ID!) { bySearch: jobCards(first: 5, search: "Audit Flange") { totalCount } byStep: jobCards(first: 5, filter: { operations: ["Turning"], machineIds: [$m], operatorIds: [$o] }) { totalCount } }

Variables

{
  "m": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98",
  "o": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
}

Response · HTTP 200

{
  "data": {
    "bySearch": {
      "totalCount": 1
    },
    "byStep": {
      "totalCount": 0
    }
  }
}

myJobs

089MyJobs · loadsupervisorPOST /graphql200 OKAs expected12 ms

Supervisor home lists the jobs the supervisor imported; myJobs returns only steps assigned to the caller.

Operation
myJobs
Request id
01a14ba9-9e1e-7204-aa40-4856d057dcd1
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditMyJobsSup { jobs: myJobs(first: 2) { totalCount edges { node { ...J } } } active: myJobs(first: 1, filter: { status: [NOT_STARTED, IN_PROGRESS, PAUSED] }) { totalCount } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "jobs": {
      "totalCount": 0,
      "edges": []
    },
    "active": {
      "totalCount": 0
    }
  }
}
091MyJobs · search-filteroperatorPOST /graphql200 OKAs expected8 ms

The app searches and filters by stage, operation and machine.

Operation
myJobs(search, filter)
Request id
01a14ba9-a03f-7242-bdb7-1ce95143466a
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditMyJobsSearch { myJobs(first: 5, search: "Turning", filter: { operations: ["Turning"] }) { totalCount } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "myJobs": {
      "totalCount": 0
    }
  }
}
096MyJobs · load-importedsupervisorPOST /graphql200 OKAs expected20 ms
Operation
myJobs
Request id
01a14ba9-a65b-795e-ae10-9c9b34755d0d
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditMyJobsImported { myJobs(first: 5) { totalCount } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "myJobs": {
      "totalCount": 1
    }
  }
}
102MyJobs · loadoperatorPOST /graphql200 OKAs expected45 ms
Operation
myJobs
Request id
01a14ba9-ae7b-75b4-94be-83c09fda0142
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditMyJobsOp { jobs: myJobs(first: 2) { totalCount edges { node { ...J } } } inProgress: myJobs(first: 1, filter: { status: [IN_PROGRESS] }) { totalCount } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "jobs": {
      "totalCount": 4,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "code": "JOB4",
            "qrValue": "JC-00004",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "customerName": "Demo Agro Implements",
            "partName": "Bearing housing",
            "jobName": null,
            "material": "EN8 steel",
            "quantity": 40,
            "priority": "HIGH",
            "dueDate": "2026-10-23",
            "status": "NOT_STARTED",
            "designApproval": "PENDING",
            "materialSource": "BOUGHT_OUT",
            "materialQc": "ACCEPTED",
            "quotation": "PENDING",
            "billing": "NOT_INVOICED",
            "designFile": null,
            "operations": [
              {
                "id": "01a14ba6-e670-7383-a269-879726ac44d1",
                "seq": 1,
                "name": "Turning",
                "machineId": null,
                "machineName": null,
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
                "seq": 2,
                "name": "Milling",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              },
              {
                "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
                "seq": 3,
                "name": "Finishing",
                "machineId": null,
                "machineName": null,
                "operatorId": null,
                "operatorName": null,
                "status": "PENDING",
                "startedAt": null,
                "completedAt": null
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
                "kind": "RM",
                "stage": "Incoming inspection",
                "result": "ACCEPTED",
                "remark": "Material and size as per drawing",
                "recordedAt": "2026-10-17T20:56:32.134Z",
                "jobOperationId": null,
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "code": "JOB1",
            "qrValue": "JC-00001",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "customerName": "Demo Pumps & Valves",
            "partName": "Pump shaft",
            "jobName": null,
            "material": "EN8 steel",
            "quantity": 120,
            "priority": "HIGH",
            "dueDate": "2026-10-25",
            "status": "COMPLETED",
            "designApproval": "APPROVED",
            "materialSource": "BOUGHT_OUT",
            "materialQc": "ACCEPTED",
            "quotation": "PENDING",
            "billing": "INVOICED",
            "designFile": {
              "id": "01a14ba6-e69c-79b0-ae65-424de8a47a06",
              "name": "synthetic-demo-drawing.pdf",
              "kind": "DESIGN",
              "sizeBytes": 0
            },
            "operations": [
              {
                "id": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "seq": 1,
                "name": "Turning",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.745Z",
                "completedAt": "2026-10-17T20:56:31.760Z"
              },
              {
                "id": "01a14ba6-e627-719c-806b-ac64265762a5",
                "seq": 2,
                "name": "Milling",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.794Z",
                "completedAt": "2026-10-17T20:56:31.806Z"
              },
              {
                "id": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "seq": 3,
                "name": "Finishing",
                "machineId": "01a14ba6-e589-7248-a7e0-1239851b82aa",
                "machineName": "CNC Lathe 1",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
                "operatorName": "Demo Operator",
                "status": "COMPLETED",
                "startedAt": "2026-10-17T20:56:31.835Z",
                "completedAt": "2026-10-17T20:56:31.852Z"
              }
            ],
            "qcHistory": [
              {
                "id": "01a14ba6-e6ed-7f91-8c5e-237cff65bf76",
                "kind": "RM",
                "stage": "Incoming inspection",
                "result": "ACCEPTED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.720Z",
                "jobOperationId": null,
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e71d-75a5-8439-917f6e7cf411",
                "kind": "MACHINE",
                "stage": "In-process QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.770Z",
                "jobOperationId": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e74a-7e4f-90e1-25a0c36de538",
                "kind": "MACHINE",
                "stage": "In-process QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.815Z",
                "jobOperationId": "01a14ba6-e627-719c-806b-ac64265762a5",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              },
              {
                "id": "01a14ba6-e788-78dc-9641-080fcb3f9712",
                "kind": "MACHINE",
                "stage": "Final QC",
                "result": "PASSED",
                "remark": null,
                "recordedAt": "2026-10-17T20:56:31.871Z",
                "jobOperationId": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "inspector": "Demo Inspector",
                "rejectedMaterial": null,
                "report": null
              }
            ]
          }
        }
      ]
    },
    "inProgress": {
      "totalCount": 1
    }
  }
}

pauseJobStep

178OperatorJob · pauseoperatorPOST /graphql200 OKAs expected41 ms
Operation
pauseJobStep
Request id
01a14baa-0484-7287-8c0d-bdd9c25840d4
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-178",
  "content-type": "application/json"
}

Query

mutation AuditPause($input: PauseJobStepInput!) { pauseJobStep(input: $input) { id status } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
    "reason": "TOOL_CHANGE"
  }
}

Response · HTTP 200

{
  "data": {
    "pauseJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "PAUSED"
    }
  }
}
187JobCardDetails · pause-stepoperatorPOST /graphql200 OKAs expected13 ms
Operation
pauseJobStep
Request id
01a14baa-0e9d-7c28-b625-fd9dbad29744
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-187",
  "content-type": "application/json"
}

Query

mutation AuditPause2($input: PauseJobStepInput!) { pauseJobStep(input: $input) { id status } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-72e6-b26a-13300ff83a09",
    "reason": "OTHER",
    "note": "Synthetic pause"
  }
}

Response · HTTP 200

{
  "data": {
    "pauseJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "PAUSED"
    }
  }
}

resumeJobStep

179OperatorJob · resumeoperatorPOST /graphql200 OKAs expected23 ms
Operation
resumeJobStep
Request id
01a14baa-05b2-7bf3-a882-46d3bc8c027e
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-179",
  "content-type": "application/json"
}

Query

mutation AuditResume($op: ID!) { resumeJobStep(operationId: $op) { id status } }

Variables

{
  "op": "01a14ba9-faba-7ba9-86ab-6e508d0314b6"
}

Response · HTTP 200

{
  "data": {
    "resumeJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS"
    }
  }
}
188JobCardDetails · resume-stepoperatorPOST /graphql200 OKAs expected25 ms
Operation
resumeJobStep
Request id
01a14baa-0fb1-7945-84d9-56de60d3b572
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-188",
  "content-type": "application/json"
}

Query

mutation AuditResume2($op: ID!) { resumeJobStep(operationId: $op) { id status } }

Variables

{
  "op": "01a14ba9-faba-72e6-b26a-13300ff83a09"
}

Response · HTTP 200

{
  "data": {
    "resumeJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS"
    }
  }
}

saveJobCardRawMaterial

099RawMaterial · continuesupervisorPOST /graphql200 OKAs expected23 ms
Operation
saveJobCardRawMaterial
Request id
01a14ba9-a99f-7097-a49b-aadfc7091550
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-099",
  "content-type": "application/json"
}

Query

mutation AuditRawMaterial($id: ID!, $input: RawMaterialInput!) { saveJobCardRawMaterial(id: $id, input: $input) { id orderId materialSource materialQc status } }

Variables

{
  "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "input": {
    "rawMaterialGrade": "EN8",
    "rawMaterialSize": "25 mm x 200 mm",
    "heatNumber": "HEAT-AUDIT-002",
    "rmPartNumber": "RM-AUDIT-002",
    "materialSource": "BOUGHT_OUT"
  }
}

Response · HTTP 200

{
  "data": {
    "saveJobCardRawMaterial": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "status": "NOT_STARTED"
    }
  }
}

setJobCardDesignApproval

086JobCardDetails · set-design-approvalsupervisorPOST /graphql200 OKAs expected55 ms
Operation
setJobCardDesignApproval
Request id
01a14ba9-9ab7-7854-b98b-19fd866e2c13
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-086",
  "content-type": "application/json"
}

Query

mutation AuditApprove($id: ID!) { setJobCardDesignApproval(id: $id, approval: APPROVED) { id designApproval status } }

Variables

{
  "id": "01a14ba9-79f7-727d-9878-213ff050bcf7"
}

Response · HTTP 200

{
  "data": {
    "setJobCardDesignApproval": {
      "id": "01a14ba9-79f7-727d-9878-213ff050bcf7",
      "designApproval": "APPROVED",
      "status": "NOT_STARTED"
    }
  }
}
170Flow · approve-designsupervisorPOST /graphql200 OKAs expected25 ms
Operation
setJobCardDesignApproval
Request id
01a14ba9-fb98-7e1d-bb99-646459303927
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-170",
  "content-type": "application/json"
}

Query

mutation AuditFlowApprove($id: ID!) { setJobCardDesignApproval(id: $id, approval: APPROVED) { id } }

Variables

{
  "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf"
}

Response · HTTP 200

{
  "data": {
    "setJobCardDesignApproval": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf"
    }
  }
}

startJobStep

177AssignMachine · confirm-and-startoperatorPOST /graphql200 OKAs expected38 ms
Operation
startJobStep
Request id
01a14baa-035b-768e-90ad-5e83349e201a
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-177",
  "content-type": "application/json"
}

Query

mutation AuditStart($input: StartJobStepInput!) { startJobStep(input: $input) { id status operations { id status } } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
    "machineId": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98"
  }
}

Response · HTTP 200

{
  "data": {
    "startJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS",
      "operations": [
        {
          "id": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
          "status": "RUNNING"
        },
        {
          "id": "01a14ba9-faba-72e6-b26a-13300ff83a09",
          "status": "PENDING"
        },
        {
          "id": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
          "status": "PENDING"
        }
      ]
    }
  }
}
182JobCardDetails · redo-failed-stepoperatorPOST /graphql200 OKAs expected16 ms

D4: a failed check reopens the same step as rework.

Operation
startJobStep
Request id
01a14baa-091a-724a-a4f7-92ce7cd2fcf7
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-182",
  "content-type": "application/json"
}

Query

mutation AuditStart($input: StartJobStepInput!) { startJobStep(input: $input) { id status operations { id status } } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
    "machineId": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98"
  }
}

Response · HTTP 200

{
  "data": {
    "startJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS",
      "operations": [
        {
          "id": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
          "status": "RUNNING"
        },
        {
          "id": "01a14ba9-faba-72e6-b26a-13300ff83a09",
          "status": "PENDING"
        },
        {
          "id": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
          "status": "PENDING"
        }
      ]
    }
  }
}
186JobCardDetails · start-step-2operatorPOST /graphql200 OKAs expected20 ms
Operation
startJobStep
Request id
01a14baa-0d85-701b-8035-fce039da6643
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-186",
  "content-type": "application/json"
}

Query

mutation AuditStart($input: StartJobStepInput!) { startJobStep(input: $input) { id status operations { id status } } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-72e6-b26a-13300ff83a09",
    "machineId": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98"
  }
}

Response · HTTP 200

{
  "data": {
    "startJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS",
      "operations": [
        {
          "id": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
          "status": "COMPLETED"
        },
        {
          "id": "01a14ba9-faba-72e6-b26a-13300ff83a09",
          "status": "RUNNING"
        },
        {
          "id": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
          "status": "PENDING"
        }
      ]
    }
  }
}
191JobCardDetails · start-step-3operatorPOST /graphql200 OKAs expected18 ms
Operation
startJobStep
Request id
01a14baa-140d-7426-9374-d236000f1397
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-191",
  "content-type": "application/json"
}

Query

mutation AuditStart($input: StartJobStepInput!) { startJobStep(input: $input) { id status operations { id status } } }

Variables

{
  "input": {
    "operationId": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
    "machineId": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98"
  }
}

Response · HTTP 200

{
  "data": {
    "startJobStep": {
      "id": "01a14ba9-fab1-7d0b-863a-b3c7a7857bdf",
      "status": "IN_PROGRESS",
      "operations": [
        {
          "id": "01a14ba9-faba-7ba9-86ab-6e508d0314b6",
          "status": "COMPLETED"
        },
        {
          "id": "01a14ba9-faba-72e6-b26a-13300ff83a09",
          "status": "COMPLETED"
        },
        {
          "id": "01a14ba9-faba-7cb7-8976-85cddaaee4ed",
          "status": "RUNNING"
        }
      ]
    }
  }
}

updateJobCardRoute

081JobCardsList · save-flowsupervisorPOST /graphql200 OKAs expected88 ms

Create / edit flow (add, remove steps).

Operation
updateJobCardRoute
Request id
01a14ba9-94bd-78a4-9a90-e044a3e6234a
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-081",
  "content-type": "application/json"
}

Query

mutation AuditSaveFlow($id: ID!, $steps: [JobRouteStepInput!]!) { updateJobCardRoute(id: $id, steps: $steps) { id operations { id seq name } } }

Variables

{
  "id": "01a14ba9-79f7-727d-9878-213ff050bcf7",
  "steps": [
    {
      "name": "Turning"
    },
    {
      "name": "Milling"
    },
    {
      "name": "Grinding"
    },
    {
      "name": "Inspection"
    }
  ]
}

Response · HTTP 200

{
  "data": {
    "updateJobCardRoute": {
      "id": "01a14ba9-79f7-727d-9878-213ff050bcf7",
      "operations": [
        {
          "id": "01a14ba9-9526-7005-9d4b-344c1748fdc3",
          "seq": 1,
          "name": "Turning"
        },
        {
          "id": "01a14ba9-9526-74c9-a661-5f42b123bda5",
          "seq": 2,
          "name": "Milling"
        },
        {
          "id": "01a14ba9-9526-7b4e-ad68-d20e067d165c",
          "seq": 3,
          "name": "Grinding"
        },
        {
          "id": "01a14ba9-9527-71ae-81b7-1dc172daf880",
          "seq": 4,
          "name": "Inspection"
        }
      ]
    }
  }
}

watchJob

095ImportOrder · importsupervisorPOST /graphql200 OKAs expected36 ms
Operation
watchJob
Request id
01a14ba9-a532-7eef-b62f-2464366e52b6
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-095",
  "content-type": "application/json"
}

Query

mutation AuditWatch($id: ID!) { watchJob(id: $id) { id } }

Variables

{
  "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1"
}

Response · HTTP 200

{
  "data": {
    "watchJob": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1"
    }
  }
}
118QcList · importqcPOST /graphql200 OKAs expected13 ms
Operation
watchJob
Request id
01a14ba9-bfc9-753f-8476-467975360dfa
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-118",
  "content-type": "application/json"
}

Query

mutation AuditWatchQc($id: ID!) { watchJob(id: $id) { id } }

Variables

{
  "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792"
}

Response · HTTP 200

{
  "data": {
    "watchJob": {
      "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792"
    }
  }
}

Search documentation

Search operations, types and errors from the generated contract.