Skip to content

Example of a Job's Database Object


Example - database object containing a job

{
  "_id": "c3e2f846-e527-4ad3-9afe-a35816a4eccf",
  "orig": {
    "jobName": "Testjob@printer1",
    "printerName": "printer1",
    "userName": "seal-admin",
    "fileName": "",
    "fileFormat": "application/postscript",
    "copies": 1,
    "checkinType": "ipp/2.0",
    "server": "4e896f5a893e",
    "creator": "",
    "arrivedTime": 1605187445207.0,
    "checkinTime": 1605187445391.0,
    "fileSize": 35266
  },
  "current": {
    "jobName": "Testjob@printer1",
    "printerName": "printer1",
    "userName": "seal-admin",
    "fileName": "",
    "fileFormat": "application/postscript",
    "copies": 1,
    "checkinType": "ipp/2.0",
    "server": "4e896f5a893e",
    "creator": "",
    "arrivedTime": 1605187445207.0,
    "checkinTime": 1605187445391.0,
    "fileSize": 35266
  },
  "refId": "c3e2f846",
  "fileName": [
    "c3e2f846-e527-4ad3-9afe-a35816a4eccf"
  ],
  "status": "processed",
  "stages": [
    {
      "fileName": "c3e2f846-e527-4ad3-9afe-a35816a4eccf",
      "mimeType": "application/postscript",
      "createdBy": "checkin",
      "createdAt": 1605187445391.0,
      "context": {
        "type": "ipp/2.0"
      }
    }
  ],
  "lcCurrent": {
    "jobName": "testjob@printer1",
    "printerName": "printer1",
    "userName": "seal-admin",
    "fileName": "",
    "fileFormat": "application/postscript",
    "copies": 1,
    "checkinType": "ipp/2.0",
    "server": "4e896f5a893e",
    "creator": "",
    "arrivedTime": 1605187445207.0,
    "checkinTime": 1605187445391.0,
    "fileSize": 35266
  },
  "iterationCount": 1
}

Back to top