POST api/Print/V4/{documentName}?doNotSendFile={doNotSendFile}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentName

string

Required

doNotSendFile

string

Default value is false

Body Parameters

IESPrintWithProfileModel
NameDescriptionTypeAdditional information
zone

string

None.

datas

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "zone": "sample string 1",
  "datas": {}
}

application/xml, text/xml

Sample:
<IESPrintWithProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <datas />
  <zone>sample string 1</zone>
</IESPrintWithProfileModel>

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 'IESPrintWithProfileModel'.

Response Information

Resource Description

JSonGenericOfbinaryFile
NameDescriptionTypeAdditional information
Response

binaryFile

None.

Datas

binaryFile

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "bytes": "QEA=",
    "fileName": "sample string 1",
    "fullPath": "sample string 2",
    "fileType": "sample string 3"
  },
  "Datas": {
    "bytes": "QEA=",
    "fileName": "sample string 1",
    "fullPath": "sample string 2",
    "fileType": "sample string 3"
  },
  "ServiceName": "sample string 1",
  "Parameters": "sample string 2",
  "Status": 0,
  "ErrorMessage": "sample string 3",
  "Error": {
    "Code": "sample string 1",
    "Details": "sample string 2",
    "Message": "sample string 3",
    "Level": 1
  }
}

application/xml, text/xml

Sample:
<JSonGenericOfbinaryFileq8b3XWLw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForSagaMiddleware">
  <Error>
    <Code>sample string 1</Code>
    <Details>sample string 2</Details>
    <Level>Info</Level>
    <Message>sample string 3</Message>
  </Error>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Parameters>sample string 2</Parameters>
  <ServiceName>sample string 1</ServiceName>
  <Status>Error</Status>
  <Datas xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore">
    <d2p1:bytes>QEA=</d2p1:bytes>
    <d2p1:fileName>sample string 1</d2p1:fileName>
    <d2p1:fileType>sample string 3</d2p1:fileType>
    <d2p1:fullPath>sample string 2</d2p1:fullPath>
  </Datas>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore">
    <d2p1:bytes>QEA=</d2p1:bytes>
    <d2p1:fileName>sample string 1</d2p1:fileName>
    <d2p1:fileType>sample string 3</d2p1:fileType>
    <d2p1:fullPath>sample string 2</d2p1:fullPath>
  </Response>
</JSonGenericOfbinaryFileq8b3XWLw>