GET api/Pos/Busi/Sell/Bill/Query/ByBillNum/SimpleRet/{billnum}
以简单参数的方式,查询单个的售货单,以简单参数返回。 这个主要在网页和小程序中使用。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
billnum |
单据单号。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
以简单参数的方式,查询单个的售货单,以简单参数返回。 这个主要在网页和小程序中使用。
CommonOperationResultWithTagOfPosSellBillDetailResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PosSellBillDetailResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "detailrows": [ { "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 } ], "receiverows": [ { "billnum": "sample string 1", "fkfsid": "sample string 2", "paymentamount": 3.0, "autoid": 4, "receiveaccount": "sample string 5", "startdate": "sample string 6", "starttime": "sample string 7", "thirdpartno": "sample string 8", "thridpartno2": "sample string 9", "confirmdate": "sample string 10", "confirmtime": "sample string 11", "receivestatus": "sample string 12", "memory": "sample string 13", "fkfsmc": "sample string 14", "paymentaccount": "sample string 15" }, { "billnum": "sample string 1", "fkfsid": "sample string 2", "paymentamount": 3.0, "autoid": 4, "receiveaccount": "sample string 5", "startdate": "sample string 6", "starttime": "sample string 7", "thirdpartno": "sample string 8", "thridpartno2": "sample string 9", "confirmdate": "sample string 10", "confirmtime": "sample string 11", "receivestatus": "sample string 12", "memory": "sample string 13", "fkfsmc": "sample string 14", "paymentaccount": "sample string 15" } ], "guiderbindingrows": [ { "billnum": "sample string 1", "dyzh": "sample string 2", "bindingtime": "sample string 3", "yhdlm": "sample string 4", "dyxx": "sample string 5", "yhmc": "sample string 6", "autoid": 7, "op": "sample string 8" }, { "billnum": "sample string 1", "dyzh": "sample string 2", "bindingtime": "sample string 3", "yhdlm": "sample string 4", "dyxx": "sample string 5", "yhmc": "sample string 6", "autoid": 7, "op": "sample string 8" } ], "accountreceiveable": 1.0, "accountreceived": 2.0, "receivedsummary": "sample string 3", "itemsummary": "sample string 4", "billnum": "sample string 5", "shopid": "sample string 6", "yhdlm": "sample string 7", "happendate": "sample string 8", "happentime": "sample string 9", "paystate": "sample string 10", "dyzh": "sample string 11", "guiderbinduser": "sample string 12", "guiderbindtime": "sample string 13", "calculatestate": "sample string 14", "calculatebillnum": "sample string 15", "busifromtype": "sample string 16", "memony": "sample string 17", "shopname": "sample string 18", "yhmc": "sample string 19", "guiderbindusername": "sample string 20", "dyxx": "sample string 21", "memberid": 1, "memberinfo": "sample string 22" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPosSellBillDetailResultldpHZqFJ 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:billnum>sample string 5</d2p1:billnum> <d2p1:busifromtype>sample string 16</d2p1:busifromtype> <d2p1:calculatebillnum>sample string 15</d2p1:calculatebillnum> <d2p1:calculatestate>sample string 14</d2p1:calculatestate> <d2p1:dyxx>sample string 21</d2p1:dyxx> <d2p1:dyzh>sample string 11</d2p1:dyzh> <d2p1:guiderbindtime>sample string 13</d2p1:guiderbindtime> <d2p1:guiderbinduser>sample string 12</d2p1:guiderbinduser> <d2p1:guiderbindusername>sample string 20</d2p1:guiderbindusername> <d2p1:happendate>sample string 8</d2p1:happendate> <d2p1:happentime>sample string 9</d2p1:happentime> <d2p1:memberid>1</d2p1:memberid> <d2p1:memberinfo>sample string 22</d2p1:memberinfo> <d2p1:memony>sample string 17</d2p1:memony> <d2p1:paystate>sample string 10</d2p1:paystate> <d2p1:shopid>sample string 6</d2p1:shopid> <d2p1:shopname>sample string 18</d2p1:shopname> <d2p1:yhdlm>sample string 7</d2p1:yhdlm> <d2p1:yhmc>sample string 19</d2p1:yhmc> <d2p1:accountreceiveable>1</d2p1:accountreceiveable> <d2p1:accountreceived>2</d2p1:accountreceived> <d2p1:itemsummary>sample string 4</d2p1:itemsummary> <d2p1:receivedsummary>sample string 3</d2p1:receivedsummary> <d2p1:detailrows> <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> </d2p1:detailrows> <d2p1:guiderbindingrows> <d2p1:PosSellGuiderBindingItemResult> <d2p1:autoid>7</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:bindingtime>sample string 3</d2p1:bindingtime> <d2p1:dyxx>sample string 5</d2p1:dyxx> <d2p1:dyzh>sample string 2</d2p1:dyzh> <d2p1:op>sample string 8</d2p1:op> <d2p1:yhdlm>sample string 4</d2p1:yhdlm> <d2p1:yhmc>sample string 6</d2p1:yhmc> </d2p1:PosSellGuiderBindingItemResult> <d2p1:PosSellGuiderBindingItemResult> <d2p1:autoid>7</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:bindingtime>sample string 3</d2p1:bindingtime> <d2p1:dyxx>sample string 5</d2p1:dyxx> <d2p1:dyzh>sample string 2</d2p1:dyzh> <d2p1:op>sample string 8</d2p1:op> <d2p1:yhdlm>sample string 4</d2p1:yhdlm> <d2p1:yhmc>sample string 6</d2p1:yhmc> </d2p1:PosSellGuiderBindingItemResult> </d2p1:guiderbindingrows> <d2p1:receiverows> <d2p1:PosSellReceiveItemResult> <d2p1:autoid>4</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:confirmdate>sample string 10</d2p1:confirmdate> <d2p1:confirmtime>sample string 11</d2p1:confirmtime> <d2p1:fkfsid>sample string 2</d2p1:fkfsid> <d2p1:fkfsmc>sample string 14</d2p1:fkfsmc> <d2p1:memory>sample string 13</d2p1:memory> <d2p1:paymentaccount>sample string 15</d2p1:paymentaccount> <d2p1:paymentamount>3</d2p1:paymentamount> <d2p1:receiveaccount>sample string 5</d2p1:receiveaccount> <d2p1:receivestatus>sample string 12</d2p1:receivestatus> <d2p1:startdate>sample string 6</d2p1:startdate> <d2p1:starttime>sample string 7</d2p1:starttime> <d2p1:thirdpartno>sample string 8</d2p1:thirdpartno> <d2p1:thridpartno2>sample string 9</d2p1:thridpartno2> </d2p1:PosSellReceiveItemResult> <d2p1:PosSellReceiveItemResult> <d2p1:autoid>4</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:confirmdate>sample string 10</d2p1:confirmdate> <d2p1:confirmtime>sample string 11</d2p1:confirmtime> <d2p1:fkfsid>sample string 2</d2p1:fkfsid> <d2p1:fkfsmc>sample string 14</d2p1:fkfsmc> <d2p1:memory>sample string 13</d2p1:memory> <d2p1:paymentaccount>sample string 15</d2p1:paymentaccount> <d2p1:paymentamount>3</d2p1:paymentamount> <d2p1:receiveaccount>sample string 5</d2p1:receiveaccount> <d2p1:receivestatus>sample string 12</d2p1:receivestatus> <d2p1:startdate>sample string 6</d2p1:startdate> <d2p1:starttime>sample string 7</d2p1:starttime> <d2p1:thirdpartno>sample string 8</d2p1:thirdpartno> <d2p1:thridpartno2>sample string 9</d2p1:thridpartno2> </d2p1:PosSellReceiveItemResult> </d2p1:receiverows> </tag> </CommonOperationResultWithTagOfPosSellBillDetailResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.