POST VueApi/PrintBefore
打印前检查
Request Information
URI Parameters
None.
Body Parameters
PrintFormsReqModel| Name | Description | Type | Additional information |
|---|---|---|---|
| fBillTypeId | integer |
None. |
|
| fItemId | Collection of string |
None. |
|
| fTemplateId | integer |
None. |
|
| fAutoGen | boolean |
None. |
|
| fHFId | integer |
None. |
|
| fPageIndexEntryIds | Collection of PrintEntryModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"fBillTypeId": 1,
"fItemId": [
"sample string 1",
"sample string 2"
],
"fTemplateId": 2,
"fAutoGen": true,
"fHFId": 4,
"fPageIndexEntryIds": [
{
"fPageIndex": 1,
"fEntryIds": [
1,
2
]
},
{
"fPageIndex": 1,
"fEntryIds": [
1,
2
]
}
]
}
application/xml, text/xml
Sample:
<PrintFormsReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Models.Vue">
<fAutoGen>true</fAutoGen>
<fBillTypeId>1</fBillTypeId>
<fHFId>4</fHFId>
<fItemId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</fItemId>
<fPageIndexEntryIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:PrintEntryModel>
<d2p1:fEntryIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d2p1:fEntryIds>
<d2p1:fPageIndex>1</d2p1:fPageIndex>
</d2p1:PrintEntryModel>
<d2p1:PrintEntryModel>
<d2p1:fEntryIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d2p1:fEntryIds>
<d2p1:fPageIndex>1</d2p1:fPageIndex>
</d2p1:PrintEntryModel>
</fPageIndexEntryIds>
<fTemplateId>2</fTemplateId>
</PrintFormsReqModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResModel| Name | Description | Type | Additional information |
|---|---|---|---|
| error | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": 1,
"Msg": "sample string 2"
}
application/xml, text/xml
Sample:
<ResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi"> <Msg>sample string 2</Msg> <error>1</error> </ResModel>