POST api/document/LogDocumentPrint

Request Information

URI Parameters

None.

Body Parameters

DocumentPrintLogModel
NameDescriptionTypeAdditional information
Id

string

None.

DocumentId

string

None.

DatePrintedEpoch

integer

None.

TotalCopies

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "DocumentId": "sample string 2",
  "DatePrintedEpoch": 3,
  "TotalCopies": 4
}

application/xml, text/xml

Sample:
<DocumentPrintLogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/All_About_PDF_API.Models">
  <DatePrintedEpoch>3</DatePrintedEpoch>
  <DocumentId>sample string 2</DocumentId>
  <Id>sample string 1</Id>
  <TotalCopies>4</TotalCopies>
</DocumentPrintLogModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DocumentPrintLogModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.