GET api/Pos/Busi/Sell/Print/Content/{billnum}
获取pos售货单小票打印的内容
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
billnum |
售货单单号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取pos售货单小票打印的内容
CommonOperationResultWithTagOfPosGoodsSellPrintParmName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PosGoodsSellPrintParm |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "billnum": "sample string 1", "printcount": 2, "posshopname": "sample string 3", "paymentname": "sample string 4", "username": "sample string 5", "total": 6.0, "discount": 7.0, "reduction": 8.0, "cost": 9.0, "real": 10.0, "change": 11.0, "Coupon_56": 12.0, "Coupon_57": 13.0, "details": [ { "id": 1, "productid": 2, "productname": "sample string 3", "amount": 4.0, "sellstate": "sample string 5", "retailprice": 6.0, "discountrate": 7.0, "discountbase": 8.0, "subtotal": 9.0, "unit": "sample string 10", "remark": "sample string 11" }, { "id": 1, "productid": 2, "productname": "sample string 3", "amount": 4.0, "sellstate": "sample string 5", "retailprice": 6.0, "discountrate": 7.0, "discountbase": 8.0, "subtotal": 9.0, "unit": "sample string 10", "remark": "sample string 11" } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPosGoodsSellPrintParmlTRO8TLE 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>12</d2p1:Coupon_56> <d2p1:Coupon_57>13</d2p1:Coupon_57> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:change>11</d2p1:change> <d2p1:cost>9</d2p1:cost> <d2p1:details> <d2p1:PosGoodsSellDetailPrintParm> <d2p1:amount>4</d2p1:amount> <d2p1:discountbase>8</d2p1:discountbase> <d2p1:discountrate>7</d2p1:discountrate> <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>6</d2p1:retailprice> <d2p1:sellstate>sample string 5</d2p1:sellstate> <d2p1:subtotal>9</d2p1:subtotal> <d2p1:unit>sample string 10</d2p1:unit> </d2p1:PosGoodsSellDetailPrintParm> <d2p1:PosGoodsSellDetailPrintParm> <d2p1:amount>4</d2p1:amount> <d2p1:discountbase>8</d2p1:discountbase> <d2p1:discountrate>7</d2p1:discountrate> <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>6</d2p1:retailprice> <d2p1:sellstate>sample string 5</d2p1:sellstate> <d2p1:subtotal>9</d2p1:subtotal> <d2p1:unit>sample string 10</d2p1:unit> </d2p1:PosGoodsSellDetailPrintParm> </d2p1:details> <d2p1:discount>7</d2p1:discount> <d2p1:paymentname>sample string 4</d2p1:paymentname> <d2p1:posshopname>sample string 3</d2p1:posshopname> <d2p1:printcount>2</d2p1:printcount> <d2p1:real>10</d2p1:real> <d2p1:reduction>8</d2p1:reduction> <d2p1:total>6</d2p1:total> <d2p1:username>sample string 5</d2p1:username> </tag> </CommonOperationResultWithTagOfPosGoodsSellPrintParmlTRO8TLE>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.