POST api/print/toPdf2

Request Information

URI Parameters

None.

Body Parameters

mutiTopdfByOneIdDto
NameDescriptionTypeAdditional information
id

integer

None.

wzpType

integer

None.

xpType

integer

None.

fp

boolean

None.

firstPageWhite

boolean

None.

autoGenarate

boolean

None.

wzpTitle

boolean

None.

displayWzpPage

boolean

None.

mergeWzpAndXp

boolean

None.

wzpBeferXp

boolean

None.

wzpPre

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "wzpType": 2,
  "xpType": 3,
  "fp": true,
  "firstPageWhite": true,
  "autoGenarate": true,
  "wzpTitle": true,
  "displayWzpPage": true,
  "mergeWzpAndXp": true,
  "wzpBeferXp": true,
  "wzpPre": true
}

application/xml, text/xml

Sample:
<mutiTopdfByOneIdDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.Entity.dto">
  <autoGenarate>true</autoGenarate>
  <displayWzpPage>true</displayWzpPage>
  <firstPageWhite>true</firstPageWhite>
  <fp>true</fp>
  <id>1</id>
  <mergeWzpAndXp>true</mergeWzpAndXp>
  <wzpBeferXp>true</wzpBeferXp>
  <wzpPre>true</wzpPre>
  <wzpTitle>true</wzpTitle>
  <wzpType>2</wzpType>
  <xpType>3</xpType>
</mutiTopdfByOneIdDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultEntity
NameDescriptionTypeAdditional information
code

integer

None.

data

Object

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "data": {},
  "msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.API">
  <code>1</code>
  <data />
  <msg>sample string 3</msg>
</ResultEntity>