GET api/Servo/Pos_Refund_Detail/T/GetSimpleResult?billnum={billnum}&autoid={autoid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| billnum | string |
Required |
|
| autoid | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
CommonOperationResultWithTagOfIEnumerableOfPosRefundBillDetailItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of PosRefundBillDetailItem |
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,
"DiscountBase": 5.0,
"DiscountRate": 6.0,
"RetailPrice": 7.0,
"Unit": "sample string 8",
"Fee": 9.0,
"ProductName": "sample string 10",
"BarCode": "sample string 11",
"Standard": "sample string 12",
"ProducingArea": "sample string 13",
"QualityLevel": "sample string 14",
"IsNeedWeighing": "sample string 15",
"RefundCostPrice": 16.0,
"RefundSubTotal": 17.0,
"RealPrice": 18.0,
"SellGoodsGetted": "sample string 19",
"SellDeliverType": "sample string 20",
"SellDeliverProviderName": "sample string 21",
"SellDeliverBillNum": "sample string 22"
},
{
"AutoId": 1,
"ProductId": 2,
"BillNum": "sample string 3",
"Amount": 4.0,
"DiscountBase": 5.0,
"DiscountRate": 6.0,
"RetailPrice": 7.0,
"Unit": "sample string 8",
"Fee": 9.0,
"ProductName": "sample string 10",
"BarCode": "sample string 11",
"Standard": "sample string 12",
"ProducingArea": "sample string 13",
"QualityLevel": "sample string 14",
"IsNeedWeighing": "sample string 15",
"RefundCostPrice": 16.0,
"RefundSubTotal": 17.0,
"RealPrice": 18.0,
"SellGoodsGetted": "sample string 19",
"SellDeliverType": "sample string 20",
"SellDeliverProviderName": "sample string 21",
"SellDeliverBillNum": "sample string 22"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfPosRefundBillDetailItemldpHZqFJ 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:PosRefundBillDetailItem>
<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:DiscountBase>5</d2p1:DiscountBase>
<d2p1:DiscountRate>6</d2p1:DiscountRate>
<d2p1:Fee>9</d2p1:Fee>
<d2p1:IsNeedWeighing>sample string 15</d2p1:IsNeedWeighing>
<d2p1:ProducingArea>sample string 13</d2p1:ProducingArea>
<d2p1:ProductId>2</d2p1:ProductId>
<d2p1:ProductName>sample string 10</d2p1:ProductName>
<d2p1:QualityLevel>sample string 14</d2p1:QualityLevel>
<d2p1:RealPrice>18</d2p1:RealPrice>
<d2p1:RefundCostPrice>16</d2p1:RefundCostPrice>
<d2p1:RefundSubTotal>17</d2p1:RefundSubTotal>
<d2p1:RetailPrice>7</d2p1:RetailPrice>
<d2p1:SellDeliverBillNum>sample string 22</d2p1:SellDeliverBillNum>
<d2p1:SellDeliverProviderName>sample string 21</d2p1:SellDeliverProviderName>
<d2p1:SellDeliverType>sample string 20</d2p1:SellDeliverType>
<d2p1:SellGoodsGetted>sample string 19</d2p1:SellGoodsGetted>
<d2p1:Standard>sample string 12</d2p1:Standard>
<d2p1:Unit>sample string 8</d2p1:Unit>
</d2p1:PosRefundBillDetailItem>
<d2p1:PosRefundBillDetailItem>
<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:DiscountBase>5</d2p1:DiscountBase>
<d2p1:DiscountRate>6</d2p1:DiscountRate>
<d2p1:Fee>9</d2p1:Fee>
<d2p1:IsNeedWeighing>sample string 15</d2p1:IsNeedWeighing>
<d2p1:ProducingArea>sample string 13</d2p1:ProducingArea>
<d2p1:ProductId>2</d2p1:ProductId>
<d2p1:ProductName>sample string 10</d2p1:ProductName>
<d2p1:QualityLevel>sample string 14</d2p1:QualityLevel>
<d2p1:RealPrice>18</d2p1:RealPrice>
<d2p1:RefundCostPrice>16</d2p1:RefundCostPrice>
<d2p1:RefundSubTotal>17</d2p1:RefundSubTotal>
<d2p1:RetailPrice>7</d2p1:RetailPrice>
<d2p1:SellDeliverBillNum>sample string 22</d2p1:SellDeliverBillNum>
<d2p1:SellDeliverProviderName>sample string 21</d2p1:SellDeliverProviderName>
<d2p1:SellDeliverType>sample string 20</d2p1:SellDeliverType>
<d2p1:SellGoodsGetted>sample string 19</d2p1:SellGoodsGetted>
<d2p1:Standard>sample string 12</d2p1:Standard>
<d2p1:Unit>sample string 8</d2p1:Unit>
</d2p1:PosRefundBillDetailItem>
</tag>
</CommonOperationResultWithTagOfArrayOfPosRefundBillDetailItemldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.