GET api/Pos/Busi/Sell/Bill/Detail/Query/ByBillNum/SimpleRet/{billnum}
以简单参数查询V_Pos_Sell_Detail并返回。 这个主要在网页和小程序中使用。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
billnum | string |
Required |
Body Parameters
None.
Response Information
Resource Description
以简单参数查询V_Pos_Sell_Detail并返回。 这个主要在网页和小程序中使用。
CommonOperationResultWithTagOfIEnumerableOfPosSellDetailItemResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of PosSellDetailItemResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "autoid": 1, "productid": 2, "billnum": "sample string 3", "amount": 4.0, "cosprice": 5.0, "discountrate": 6.0, "discountbase": 7.0, "retailprice": 8.0, "sellstate": "sample string 9", "productname": "sample string 10", "barcode": "sample string 11", "unit": "sample string 12", "isneedweghing": "sample string 13", "productclassname": "sample string 14", "subtotal": 15.0 }, { "autoid": 1, "productid": 2, "billnum": "sample string 3", "amount": 4.0, "cosprice": 5.0, "discountrate": 6.0, "discountbase": 7.0, "retailprice": 8.0, "sellstate": "sample string 9", "productname": "sample string 10", "barcode": "sample string 11", "unit": "sample string 12", "isneedweghing": "sample string 13", "productclassname": "sample string 14", "subtotal": 15.0 } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfPosSellDetailItemResultldpHZqFJ 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.Result"> <d2p1:PosSellDetailItemResult> <d2p1:amount>4</d2p1:amount> <d2p1:autoid>1</d2p1:autoid> <d2p1:barcode>sample string 11</d2p1:barcode> <d2p1:billnum>sample string 3</d2p1:billnum> <d2p1:cosprice>5</d2p1:cosprice> <d2p1:discountbase>7</d2p1:discountbase> <d2p1:discountrate>6</d2p1:discountrate> <d2p1:isneedweghing>sample string 13</d2p1:isneedweghing> <d2p1:productclassname>sample string 14</d2p1:productclassname> <d2p1:productid>2</d2p1:productid> <d2p1:productname>sample string 10</d2p1:productname> <d2p1:retailprice>8</d2p1:retailprice> <d2p1:sellstate>sample string 9</d2p1:sellstate> <d2p1:subtotal>15</d2p1:subtotal> <d2p1:unit>sample string 12</d2p1:unit> </d2p1:PosSellDetailItemResult> <d2p1:PosSellDetailItemResult> <d2p1:amount>4</d2p1:amount> <d2p1:autoid>1</d2p1:autoid> <d2p1:barcode>sample string 11</d2p1:barcode> <d2p1:billnum>sample string 3</d2p1:billnum> <d2p1:cosprice>5</d2p1:cosprice> <d2p1:discountbase>7</d2p1:discountbase> <d2p1:discountrate>6</d2p1:discountrate> <d2p1:isneedweghing>sample string 13</d2p1:isneedweghing> <d2p1:productclassname>sample string 14</d2p1:productclassname> <d2p1:productid>2</d2p1:productid> <d2p1:productname>sample string 10</d2p1:productname> <d2p1:retailprice>8</d2p1:retailprice> <d2p1:sellstate>sample string 9</d2p1:sellstate> <d2p1:subtotal>15</d2p1:subtotal> <d2p1:unit>sample string 12</d2p1:unit> </d2p1:PosSellDetailItemResult> </tag> </CommonOperationResultWithTagOfArrayOfPosSellDetailItemResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.