archivedPrintJob resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

A record of a "final state" (completed, aborted, or canceled) print job that is used for reporting purposes. This isn't an active print job.

Properties

Property Type Description
id String The archived print job's GUID. Read-only.
printerId String The printer ID that the job was queued for. Read-only.
printerName String The printer name that the job was queued for. Read-only.
processingState printJobProcessingState The print job's final processing state. Read-only.
createdDateTime DateTimeOffset The dateTimeOffset when the job was created. Read-only.
acquiredDateTime DateTimeOffset The dateTimeOffset when the job was acquired by the printer, if any. Read-only.
completionDateTime DateTimeOffset The dateTimeOffset when the job was completed, canceled or aborted. Read-only.
acquiredByPrinter Boolean True if the job was acquired by a printer; false otherwise. Read-only.
copiesPrinted Int32 The number of copies that were printed. Read-only.
pageCount Int32 The total number of pages that were printed. Read-only.
blackAndWhitePageCount Int32 The number of black and white pages that were printed. Read-only.
colorPageCount Int32 The number of color pages that were printed. Read-only.
simplexPageCount Int32 The number of simplex (single-sided) pages that were printed. Read-only.
duplexPageCount Int32 The number of duplex (double-sided) pages that were printed. Read-only.
createdBy userIdentity The user who created the print job. Read-only.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.archivedPrintJob",
  "id": "String",
  "printerId": "String",
  "printerName": "String",
  "processingState": "String",
  "createdDateTime": "String (timestamp)",
  "acquiredDateTime": "String (timestamp)",
  "completionDateTime": "String (timestamp)",
  "acquiredByPrinter": "Boolean",
  "copiesPrinted": "Integer",
  "pageCount": "Integer",
  "blackAndWhitePageCount": "Integer",
  "colorPageCount": "Integer",
  "simplexPageCount": "Integer",
  "duplexPageCount": "Integer",
  "createdBy": {
    "@odata.type": "microsoft.graph.userIdentity"
  }
}