GET api/Pos/Busi/Sell/Refund/Print/Content/{billnum}
通过售货单号获取pos退货单小票打印的内容 注:仅返回最后一个退款单
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| billnum |
售货单单号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
通过售货单号获取pos退货单小票打印的内容 注:仅返回最后一个退款单
CommonOperationResultWithTagOfPosGoodsSellRefundPrintParm| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | PosGoodsSellRefundPrintParm |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"posshopid": "sample string 1",
"posshopname": "sample string 2",
"refundcount": 3,
"refundtotal": 4.0,
"reduction": 5.0,
"Coupon_56": 6.0,
"Coupon_57": 7.0,
"refundAllDesc": "sample string 8",
"details": [
{
"billnum": "sample string 1",
"sellbillnum": "sample string 2",
"username": "sample string 3",
"happendate": "sample string 4",
"happentime": "sample string 5",
"refundgoodscount": 6,
"refundbilldesc": "sample string 7",
"refundbillmoney": 8.0,
"refundbillDiscountmoney": 9.0,
"details": [
{
"id": 1,
"productid": 2,
"productname": "sample string 3",
"amount": 4.0,
"retailprice": 5.0,
"discountrate": 6.0,
"discountbase": 7.0,
"fee": 8.0,
"subtotal": 9.0,
"unit": "sample string 10",
"remark": "sample string 11"
},
{
"id": 1,
"productid": 2,
"productname": "sample string 3",
"amount": 4.0,
"retailprice": 5.0,
"discountrate": 6.0,
"discountbase": 7.0,
"fee": 8.0,
"subtotal": 9.0,
"unit": "sample string 10",
"remark": "sample string 11"
}
]
},
{
"billnum": "sample string 1",
"sellbillnum": "sample string 2",
"username": "sample string 3",
"happendate": "sample string 4",
"happentime": "sample string 5",
"refundgoodscount": 6,
"refundbilldesc": "sample string 7",
"refundbillmoney": 8.0,
"refundbillDiscountmoney": 9.0,
"details": [
{
"id": 1,
"productid": 2,
"productname": "sample string 3",
"amount": 4.0,
"retailprice": 5.0,
"discountrate": 6.0,
"discountbase": 7.0,
"fee": 8.0,
"subtotal": 9.0,
"unit": "sample string 10",
"remark": "sample string 11"
},
{
"id": 1,
"productid": 2,
"productname": "sample string 3",
"amount": 4.0,
"retailprice": 5.0,
"discountrate": 6.0,
"discountbase": 7.0,
"fee": 8.0,
"subtotal": 9.0,
"unit": "sample string 10",
"remark": "sample string 11"
}
]
}
]
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPosGoodsSellRefundPrintParmlTRO8TLE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm">
<d2p1:Coupon_56>6</d2p1:Coupon_56>
<d2p1:Coupon_57>7</d2p1:Coupon_57>
<d2p1:details>
<d2p1:PosGoodsSellRefundPrintItem>
<d2p1:billnum>sample string 1</d2p1:billnum>
<d2p1:details>
<d2p1:PosGoodsSellRefundDetailPrintParm>
<d2p1:amount>4</d2p1:amount>
<d2p1:discountbase>7</d2p1:discountbase>
<d2p1:discountrate>6</d2p1:discountrate>
<d2p1:fee>8</d2p1:fee>
<d2p1:id>1</d2p1:id>
<d2p1:productid>2</d2p1:productid>
<d2p1:productname>sample string 3</d2p1:productname>
<d2p1:remark>sample string 11</d2p1:remark>
<d2p1:retailprice>5</d2p1:retailprice>
<d2p1:subtotal>9</d2p1:subtotal>
<d2p1:unit>sample string 10</d2p1:unit>
</d2p1:PosGoodsSellRefundDetailPrintParm>
<d2p1:PosGoodsSellRefundDetailPrintParm>
<d2p1:amount>4</d2p1:amount>
<d2p1:discountbase>7</d2p1:discountbase>
<d2p1:discountrate>6</d2p1:discountrate>
<d2p1:fee>8</d2p1:fee>
<d2p1:id>1</d2p1:id>
<d2p1:productid>2</d2p1:productid>
<d2p1:productname>sample string 3</d2p1:productname>
<d2p1:remark>sample string 11</d2p1:remark>
<d2p1:retailprice>5</d2p1:retailprice>
<d2p1:subtotal>9</d2p1:subtotal>
<d2p1:unit>sample string 10</d2p1:unit>
</d2p1:PosGoodsSellRefundDetailPrintParm>
</d2p1:details>
<d2p1:happendate>sample string 4</d2p1:happendate>
<d2p1:happentime>sample string 5</d2p1:happentime>
<d2p1:refundbillDiscountmoney>9</d2p1:refundbillDiscountmoney>
<d2p1:refundbilldesc>sample string 7</d2p1:refundbilldesc>
<d2p1:refundbillmoney>8</d2p1:refundbillmoney>
<d2p1:refundgoodscount>6</d2p1:refundgoodscount>
<d2p1:sellbillnum>sample string 2</d2p1:sellbillnum>
<d2p1:username>sample string 3</d2p1:username>
</d2p1:PosGoodsSellRefundPrintItem>
<d2p1:PosGoodsSellRefundPrintItem>
<d2p1:billnum>sample string 1</d2p1:billnum>
<d2p1:details>
<d2p1:PosGoodsSellRefundDetailPrintParm>
<d2p1:amount>4</d2p1:amount>
<d2p1:discountbase>7</d2p1:discountbase>
<d2p1:discountrate>6</d2p1:discountrate>
<d2p1:fee>8</d2p1:fee>
<d2p1:id>1</d2p1:id>
<d2p1:productid>2</d2p1:productid>
<d2p1:productname>sample string 3</d2p1:productname>
<d2p1:remark>sample string 11</d2p1:remark>
<d2p1:retailprice>5</d2p1:retailprice>
<d2p1:subtotal>9</d2p1:subtotal>
<d2p1:unit>sample string 10</d2p1:unit>
</d2p1:PosGoodsSellRefundDetailPrintParm>
<d2p1:PosGoodsSellRefundDetailPrintParm>
<d2p1:amount>4</d2p1:amount>
<d2p1:discountbase>7</d2p1:discountbase>
<d2p1:discountrate>6</d2p1:discountrate>
<d2p1:fee>8</d2p1:fee>
<d2p1:id>1</d2p1:id>
<d2p1:productid>2</d2p1:productid>
<d2p1:productname>sample string 3</d2p1:productname>
<d2p1:remark>sample string 11</d2p1:remark>
<d2p1:retailprice>5</d2p1:retailprice>
<d2p1:subtotal>9</d2p1:subtotal>
<d2p1:unit>sample string 10</d2p1:unit>
</d2p1:PosGoodsSellRefundDetailPrintParm>
</d2p1:details>
<d2p1:happendate>sample string 4</d2p1:happendate>
<d2p1:happentime>sample string 5</d2p1:happentime>
<d2p1:refundbillDiscountmoney>9</d2p1:refundbillDiscountmoney>
<d2p1:refundbilldesc>sample string 7</d2p1:refundbilldesc>
<d2p1:refundbillmoney>8</d2p1:refundbillmoney>
<d2p1:refundgoodscount>6</d2p1:refundgoodscount>
<d2p1:sellbillnum>sample string 2</d2p1:sellbillnum>
<d2p1:username>sample string 3</d2p1:username>
</d2p1:PosGoodsSellRefundPrintItem>
</d2p1:details>
<d2p1:posshopid>sample string 1</d2p1:posshopid>
<d2p1:posshopname>sample string 2</d2p1:posshopname>
<d2p1:reduction>5</d2p1:reduction>
<d2p1:refundAllDesc>sample string 8</d2p1:refundAllDesc>
<d2p1:refundcount>3</d2p1:refundcount>
<d2p1:refundtotal>4</d2p1:refundtotal>
</tag>
</CommonOperationResultWithTagOfPosGoodsSellRefundPrintParmlTRO8TLE>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.