printDocument resource type

Namespace: microsoft.graph

Important

Microsoft is offering usage of the cloud printing APIs to manage Universal Print at no charge and there are no foreseeable plans to charge for the use of these APIs.

Represents a document being printed.

Methods

Method Return type Description
Create upload session uploadSession Create an upload session to iteratively upload ranges of binary file of the printDocument.
Download binary file Download Url Download the binary file associated with the printDocument.

Properties

Property Type Description
id String The document's identifier. Read-only.
displayName String The document's name. Read-only.
contentType String The document's content (MIME) type. Read-only.
size Int64 The document's size in bytes. Read-only.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.printDocument",
  "id": "String (identifier)",
  "displayName": "String",
  "contentType": "String",
  "size": "Integer"
}