POST Visual/GetPrintForm

加载打印模板

Request Information

URI Parameters

None.

Body Parameters

PrintFormRM
NameDescriptionTypeAdditional information
fInterId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "fInterId": 1
}

application/xml, text/xml

Sample:
<PrintFormRM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.ReqModel">
  <fInterId>1</fInterId>
</PrintFormRM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PrintFormModel
NameDescriptionTypeAdditional information
error

integer

None.

Msg

string

None.

t_ClassPrint

t_ClassPrint

None.

list

Collection of t_ClassPrintEntry

None.

listCond

Collection of t_ClassPrintCondition

None.

listMatch

Collection of t_ClassPrintCondition

None.

listPage

Collection of t_ClassPrintPage

None.

Response Formats

application/json, text/json

Sample:
{
  "t_ClassPrint": {
    "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"
  },
  "list": [
    {
      "fPageIndexNum": 1,
      "fIsBillRptHeader": true,
      "fIsBillRptFooter": true,
      "fEntryId": 4,
      "fFieldName": "sample string 5",
      "bData": true,
      "fImageUrl": "sample string 7",
      "fPage": 8,
      "fInterId": 9,
      "fId": 10,
      "fIsActiveText": true,
      "fPageIndex": 12,
      "fDynPageIndex": 13,
      "fText": "sample string 14",
      "fTop": 15,
      "fTopConfig": 16,
      "fLeft": 17,
      "fWidth": 18,
      "fHeight": 19,
      "fHeightT": 20,
      "fFontSize": 21,
      "fFont": "sample string 22",
      "fFontBold": true,
      "fIsEntry": true,
      "fHorizontalAlign": 25,
      "fVerticalAlign": 26,
      "fFourLine": "sample string 27",
      "fFourLineSize": "sample string 28",
      "fFourLineColor": "sample string 29",
      "fFourLineType": "sample string 30",
      "fFontColor": "sample string 31",
      "fMask": "sample string 32",
      "fEntryPosition": 33,
      "fSumType": 34,
      "fWrap": true,
      "fNewLine": true,
      "fLCnt": 37,
      "fReduceFont": true,
      "fCtlType": 39,
      "fCodeType": 40,
      "fStyle": "sample string 41",
      "fDynFieldName": "sample string 42",
      "fDynCol": 43,
      "fTableId": 44,
      "fTrimEndZero": true,
      "fFontRotate": 46,
      "fImgHeight": 47,
      "fImgWidth": 48
    },
    {
      "fPageIndexNum": 1,
      "fIsBillRptHeader": true,
      "fIsBillRptFooter": true,
      "fEntryId": 4,
      "fFieldName": "sample string 5",
      "bData": true,
      "fImageUrl": "sample string 7",
      "fPage": 8,
      "fInterId": 9,
      "fId": 10,
      "fIsActiveText": true,
      "fPageIndex": 12,
      "fDynPageIndex": 13,
      "fText": "sample string 14",
      "fTop": 15,
      "fTopConfig": 16,
      "fLeft": 17,
      "fWidth": 18,
      "fHeight": 19,
      "fHeightT": 20,
      "fFontSize": 21,
      "fFont": "sample string 22",
      "fFontBold": true,
      "fIsEntry": true,
      "fHorizontalAlign": 25,
      "fVerticalAlign": 26,
      "fFourLine": "sample string 27",
      "fFourLineSize": "sample string 28",
      "fFourLineColor": "sample string 29",
      "fFourLineType": "sample string 30",
      "fFontColor": "sample string 31",
      "fMask": "sample string 32",
      "fEntryPosition": 33,
      "fSumType": 34,
      "fWrap": true,
      "fNewLine": true,
      "fLCnt": 37,
      "fReduceFont": true,
      "fCtlType": 39,
      "fCodeType": 40,
      "fStyle": "sample string 41",
      "fDynFieldName": "sample string 42",
      "fDynCol": 43,
      "fTableId": 44,
      "fTrimEndZero": true,
      "fFontRotate": 46,
      "fImgHeight": 47,
      "fImgWidth": 48
    }
  ],
  "listCond": [
    {
      "fInterId": 1,
      "fPageIndex": 2,
      "fText": "sample string 3",
      "fValue": "sample string 4",
      "fOpt": "sample string 5",
      "fTableId": 6
    },
    {
      "fInterId": 1,
      "fPageIndex": 2,
      "fText": "sample string 3",
      "fValue": "sample string 4",
      "fOpt": "sample string 5",
      "fTableId": 6
    }
  ],
  "listMatch": [
    {
      "fInterId": 1,
      "fPageIndex": 2,
      "fText": "sample string 3",
      "fValue": "sample string 4",
      "fOpt": "sample string 5",
      "fTableId": 6
    },
    {
      "fInterId": 1,
      "fPageIndex": 2,
      "fText": "sample string 3",
      "fValue": "sample string 4",
      "fOpt": "sample string 5",
      "fTableId": 6
    }
  ],
  "listPage": [
    {
      "fInterId": 1,
      "fPage": 2,
      "fRepeatBillHead": true
    },
    {
      "fInterId": 1,
      "fPage": 2,
      "fRepeatBillHead": true
    }
  ],
  "error": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<PrintFormModel 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_ClassPrintEntry>
      <d2p1:bData>true</d2p1:bData>
      <d2p1:fCodeType>40</d2p1:fCodeType>
      <d2p1:fCtlType>39</d2p1:fCtlType>
      <d2p1:fDynCol>43</d2p1:fDynCol>
      <d2p1:fDynFieldName>sample string 42</d2p1:fDynFieldName>
      <d2p1:fDynPageIndex>13</d2p1:fDynPageIndex>
      <d2p1:fEntryId>4</d2p1:fEntryId>
      <d2p1:fEntryPosition>33</d2p1:fEntryPosition>
      <d2p1:fFieldName>sample string 5</d2p1:fFieldName>
      <d2p1:fFont>sample string 22</d2p1:fFont>
      <d2p1:fFontBold>true</d2p1:fFontBold>
      <d2p1:fFontColor>sample string 31</d2p1:fFontColor>
      <d2p1:fFontRotate>46</d2p1:fFontRotate>
      <d2p1:fFontSize>21</d2p1:fFontSize>
      <d2p1:fFourLine>sample string 27</d2p1:fFourLine>
      <d2p1:fFourLineColor>sample string 29</d2p1:fFourLineColor>
      <d2p1:fFourLineSize>sample string 28</d2p1:fFourLineSize>
      <d2p1:fFourLineType>sample string 30</d2p1:fFourLineType>
      <d2p1:fHeight>19</d2p1:fHeight>
      <d2p1:fHeightT>20</d2p1:fHeightT>
      <d2p1:fHorizontalAlign>25</d2p1:fHorizontalAlign>
      <d2p1:fId>10</d2p1:fId>
      <d2p1:fImageUrl>sample string 7</d2p1:fImageUrl>
      <d2p1:fImgHeight>47</d2p1:fImgHeight>
      <d2p1:fImgWidth>48</d2p1:fImgWidth>
      <d2p1:fInterId>9</d2p1:fInterId>
      <d2p1:fIsActiveText>true</d2p1:fIsActiveText>
      <d2p1:fIsBillRptFooter>true</d2p1:fIsBillRptFooter>
      <d2p1:fIsBillRptHeader>true</d2p1:fIsBillRptHeader>
      <d2p1:fIsEntry>true</d2p1:fIsEntry>
      <d2p1:fLCnt>37</d2p1:fLCnt>
      <d2p1:fLeft>17</d2p1:fLeft>
      <d2p1:fMask>sample string 32</d2p1:fMask>
      <d2p1:fNewLine>true</d2p1:fNewLine>
      <d2p1:fPage>8</d2p1:fPage>
      <d2p1:fPageIndex>12</d2p1:fPageIndex>
      <d2p1:fPageIndexNum>1</d2p1:fPageIndexNum>
      <d2p1:fReduceFont>true</d2p1:fReduceFont>
      <d2p1:fStyle>sample string 41</d2p1:fStyle>
      <d2p1:fSumType>34</d2p1:fSumType>
      <d2p1:fTableId>44</d2p1:fTableId>
      <d2p1:fText>sample string 14</d2p1:fText>
      <d2p1:fTop>15</d2p1:fTop>
      <d2p1:fTopConfig>16</d2p1:fTopConfig>
      <d2p1:fTrimEndZero>true</d2p1:fTrimEndZero>
      <d2p1:fVerticalAlign>26</d2p1:fVerticalAlign>
      <d2p1:fWidth>18</d2p1:fWidth>
      <d2p1:fWrap>true</d2p1:fWrap>
    </d2p1:t_ClassPrintEntry>
    <d2p1:t_ClassPrintEntry>
      <d2p1:bData>true</d2p1:bData>
      <d2p1:fCodeType>40</d2p1:fCodeType>
      <d2p1:fCtlType>39</d2p1:fCtlType>
      <d2p1:fDynCol>43</d2p1:fDynCol>
      <d2p1:fDynFieldName>sample string 42</d2p1:fDynFieldName>
      <d2p1:fDynPageIndex>13</d2p1:fDynPageIndex>
      <d2p1:fEntryId>4</d2p1:fEntryId>
      <d2p1:fEntryPosition>33</d2p1:fEntryPosition>
      <d2p1:fFieldName>sample string 5</d2p1:fFieldName>
      <d2p1:fFont>sample string 22</d2p1:fFont>
      <d2p1:fFontBold>true</d2p1:fFontBold>
      <d2p1:fFontColor>sample string 31</d2p1:fFontColor>
      <d2p1:fFontRotate>46</d2p1:fFontRotate>
      <d2p1:fFontSize>21</d2p1:fFontSize>
      <d2p1:fFourLine>sample string 27</d2p1:fFourLine>
      <d2p1:fFourLineColor>sample string 29</d2p1:fFourLineColor>
      <d2p1:fFourLineSize>sample string 28</d2p1:fFourLineSize>
      <d2p1:fFourLineType>sample string 30</d2p1:fFourLineType>
      <d2p1:fHeight>19</d2p1:fHeight>
      <d2p1:fHeightT>20</d2p1:fHeightT>
      <d2p1:fHorizontalAlign>25</d2p1:fHorizontalAlign>
      <d2p1:fId>10</d2p1:fId>
      <d2p1:fImageUrl>sample string 7</d2p1:fImageUrl>
      <d2p1:fImgHeight>47</d2p1:fImgHeight>
      <d2p1:fImgWidth>48</d2p1:fImgWidth>
      <d2p1:fInterId>9</d2p1:fInterId>
      <d2p1:fIsActiveText>true</d2p1:fIsActiveText>
      <d2p1:fIsBillRptFooter>true</d2p1:fIsBillRptFooter>
      <d2p1:fIsBillRptHeader>true</d2p1:fIsBillRptHeader>
      <d2p1:fIsEntry>true</d2p1:fIsEntry>
      <d2p1:fLCnt>37</d2p1:fLCnt>
      <d2p1:fLeft>17</d2p1:fLeft>
      <d2p1:fMask>sample string 32</d2p1:fMask>
      <d2p1:fNewLine>true</d2p1:fNewLine>
      <d2p1:fPage>8</d2p1:fPage>
      <d2p1:fPageIndex>12</d2p1:fPageIndex>
      <d2p1:fPageIndexNum>1</d2p1:fPageIndexNum>
      <d2p1:fReduceFont>true</d2p1:fReduceFont>
      <d2p1:fStyle>sample string 41</d2p1:fStyle>
      <d2p1:fSumType>34</d2p1:fSumType>
      <d2p1:fTableId>44</d2p1:fTableId>
      <d2p1:fText>sample string 14</d2p1:fText>
      <d2p1:fTop>15</d2p1:fTop>
      <d2p1:fTopConfig>16</d2p1:fTopConfig>
      <d2p1:fTrimEndZero>true</d2p1:fTrimEndZero>
      <d2p1:fVerticalAlign>26</d2p1:fVerticalAlign>
      <d2p1:fWidth>18</d2p1:fWidth>
      <d2p1:fWrap>true</d2p1:fWrap>
    </d2p1:t_ClassPrintEntry>
  </list>
  <listCond xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">
    <d2p1:t_ClassPrintCondition>
      <d2p1:fInterId>1</d2p1:fInterId>
      <d2p1:fOpt>sample string 5</d2p1:fOpt>
      <d2p1:fPageIndex>2</d2p1:fPageIndex>
      <d2p1:fTableId>6</d2p1:fTableId>
      <d2p1:fText>sample string 3</d2p1:fText>
      <d2p1:fValue>sample string 4</d2p1:fValue>
    </d2p1:t_ClassPrintCondition>
    <d2p1:t_ClassPrintCondition>
      <d2p1:fInterId>1</d2p1:fInterId>
      <d2p1:fOpt>sample string 5</d2p1:fOpt>
      <d2p1:fPageIndex>2</d2p1:fPageIndex>
      <d2p1:fTableId>6</d2p1:fTableId>
      <d2p1:fText>sample string 3</d2p1:fText>
      <d2p1:fValue>sample string 4</d2p1:fValue>
    </d2p1:t_ClassPrintCondition>
  </listCond>
  <listMatch xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">
    <d2p1:t_ClassPrintCondition>
      <d2p1:fInterId>1</d2p1:fInterId>
      <d2p1:fOpt>sample string 5</d2p1:fOpt>
      <d2p1:fPageIndex>2</d2p1:fPageIndex>
      <d2p1:fTableId>6</d2p1:fTableId>
      <d2p1:fText>sample string 3</d2p1:fText>
      <d2p1:fValue>sample string 4</d2p1:fValue>
    </d2p1:t_ClassPrintCondition>
    <d2p1:t_ClassPrintCondition>
      <d2p1:fInterId>1</d2p1:fInterId>
      <d2p1:fOpt>sample string 5</d2p1:fOpt>
      <d2p1:fPageIndex>2</d2p1:fPageIndex>
      <d2p1:fTableId>6</d2p1:fTableId>
      <d2p1:fText>sample string 3</d2p1:fText>
      <d2p1:fValue>sample string 4</d2p1:fValue>
    </d2p1:t_ClassPrintCondition>
  </listMatch>
  <listPage xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
    <d2p1:t_ClassPrintPage>
      <d2p1:fInterId>1</d2p1:fInterId>
      <d2p1:fPage>2</d2p1:fPage>
      <d2p1:fRepeatBillHead>true</d2p1:fRepeatBillHead>
    </d2p1:t_ClassPrintPage>
    <d2p1:t_ClassPrintPage>
      <d2p1:fInterId>1</d2p1:fInterId>
      <d2p1:fPage>2</d2p1:fPage>
      <d2p1:fRepeatBillHead>true</d2p1:fRepeatBillHead>
    </d2p1:t_ClassPrintPage>
  </listPage>
  <t_ClassPrint xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
    <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>
  </t_ClassPrint>
</PrintFormModel>