POST Visual/GetPrintFormList
加载打印模板列表
Request Information
URI Parameters
None.
Body Parameters
PrintFormListRM| Name | Description | Type | Additional information |
|---|---|---|---|
| fBillTypeId | integer |
None. |
|
| fInterId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"fBillTypeId": 1,
"fInterId": 2
}
application/xml, text/xml
Sample:
<PrintFormListRM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.ReqModel"> <fBillTypeId>1</fBillTypeId> <fInterId>2</fInterId> </PrintFormListRM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PrintFormListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| error | integer |
None. |
|
| Msg | string |
None. |
|
| list | Collection of t_ClassPrint |
None. |
Response Formats
application/json, text/json
Sample:
{
"list": [
{
"fInterId": 1,
"fBillTypeId": 2,
"fName": "sample string 3",
"fIsDefault": true,
"fProcedure": "sample string 5",
"fPaperWidth": 6,
"fPaperHeight": 7,
"fPaperSize": 8,
"fRepeatBillHead": true,
"fIsEntryOrOp": true,
"fPageIndex": 11,
"fRotation": 12,
"fPrinterPaper": "sample string 13",
"fGenFile": 14,
"fGenFileStr": "sample string 15",
"fVersion": "sample string 16",
"fFileNameFormat": "sample string 17"
},
{
"fInterId": 1,
"fBillTypeId": 2,
"fName": "sample string 3",
"fIsDefault": true,
"fProcedure": "sample string 5",
"fPaperWidth": 6,
"fPaperHeight": 7,
"fPaperSize": 8,
"fRepeatBillHead": true,
"fIsEntryOrOp": true,
"fPageIndex": 11,
"fRotation": 12,
"fPrinterPaper": "sample string 13",
"fGenFile": 14,
"fGenFileStr": "sample string 15",
"fVersion": "sample string 16",
"fFileNameFormat": "sample string 17"
}
],
"error": 1,
"Msg": "sample string 2"
}
application/xml, text/xml
Sample:
<PrintFormListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Visual">
<Msg>sample string 2</Msg>
<error>1</error>
<list xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:t_ClassPrint>
<d2p1:fBillTypeId>2</d2p1:fBillTypeId>
<d2p1:fFileNameFormat>sample string 17</d2p1:fFileNameFormat>
<d2p1:fGenFile>14</d2p1:fGenFile>
<d2p1:fGenFileStr>sample string 15</d2p1:fGenFileStr>
<d2p1:fInterId>1</d2p1:fInterId>
<d2p1:fIsDefault>true</d2p1:fIsDefault>
<d2p1:fIsEntryOrOp>true</d2p1:fIsEntryOrOp>
<d2p1:fName>sample string 3</d2p1:fName>
<d2p1:fPageIndex>11</d2p1:fPageIndex>
<d2p1:fPaperHeight>7</d2p1:fPaperHeight>
<d2p1:fPaperSize>8</d2p1:fPaperSize>
<d2p1:fPaperWidth>6</d2p1:fPaperWidth>
<d2p1:fPrinterPaper>sample string 13</d2p1:fPrinterPaper>
<d2p1:fProcedure>sample string 5</d2p1:fProcedure>
<d2p1:fRepeatBillHead>true</d2p1:fRepeatBillHead>
<d2p1:fRotation>12</d2p1:fRotation>
<d2p1:fVersion>sample string 16</d2p1:fVersion>
</d2p1:t_ClassPrint>
<d2p1:t_ClassPrint>
<d2p1:fBillTypeId>2</d2p1:fBillTypeId>
<d2p1:fFileNameFormat>sample string 17</d2p1:fFileNameFormat>
<d2p1:fGenFile>14</d2p1:fGenFile>
<d2p1:fGenFileStr>sample string 15</d2p1:fGenFileStr>
<d2p1:fInterId>1</d2p1:fInterId>
<d2p1:fIsDefault>true</d2p1:fIsDefault>
<d2p1:fIsEntryOrOp>true</d2p1:fIsEntryOrOp>
<d2p1:fName>sample string 3</d2p1:fName>
<d2p1:fPageIndex>11</d2p1:fPageIndex>
<d2p1:fPaperHeight>7</d2p1:fPaperHeight>
<d2p1:fPaperSize>8</d2p1:fPaperSize>
<d2p1:fPaperWidth>6</d2p1:fPaperWidth>
<d2p1:fPrinterPaper>sample string 13</d2p1:fPrinterPaper>
<d2p1:fProcedure>sample string 5</d2p1:fProcedure>
<d2p1:fRepeatBillHead>true</d2p1:fRepeatBillHead>
<d2p1:fRotation>12</d2p1:fRotation>
<d2p1:fVersion>sample string 16</d2p1:fVersion>
</d2p1:t_ClassPrint>
</list>
</PrintFormListModel>