POST api/UnPos/Miniprogram/Shop/CalDetail/Query/ById?merchantid={merchantid}&shopid={shopid}&billnum={billnum}&pageindex={pageindex}
获取门店某个核算单以及核算明细记录
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
merchantid | integer |
Required |
|
shopid | string |
Required |
|
billnum | string |
Required |
|
pageindex | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
获取门店某个核算单以及核算明细记录
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfMiniUnPosShopCalResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | SimplePageDataWithNoCountResultOfMiniUnPosShopCalResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "pageIndex": 1, "pageSize": 2, "hasMorePages": "sample string 3", "records": [ { "Details": [ { "ShopName": "sample string 1", "CalIndex": 2, "HitStepIndex": "sample string 3", "ThisTimeCalcSummary": 4.0, "HitStepEndValue": 5.0, "HitStepDivideRate": 6.0, "DivideCalValue": 7.0 }, { "ShopName": "sample string 1", "CalIndex": 2, "HitStepIndex": "sample string 3", "ThisTimeCalcSummary": 4.0, "HitStepEndValue": 5.0, "HitStepDivideRate": 6.0, "DivideCalValue": 7.0 } ], "ShopId": "sample string 1", "ShopName": "sample string 2", "BillNum": "sample string 3", "CalIndex": 4, "HappenDate": "sample string 5", "HappenTime": "sample string 6", "CalDate": "sample string 7", "CalTime": "sample string 8", "UserLoginName": "sample string 9", "YearCode": 10, "MonthCode": 64, "NeedReceiveSummary": 12.0, "FrontDirectAllowance": 13.0, "ReceivedSummary": 14.0, "GuiderRebateByPlatform": 15.0, "CustomerRebateByPlatform": 16.0, "GuiderRebateByShop": 17.0, "CustomerRebateByShop": 18.0, "NotJoinBaseCalSummary": 19.0, "JoinBaseCalSummary": 20.0, "BaseDivideCalValue": 21.0, "BaseDivideRate": 22.0, "BaseDivideRangeDesc": "sample string 23", "DivideRangeDesc": "sample string 24", "NotJoinCalcSummary": 25.0, "JoinCalcSummary": 26.0, "BeforeCalcHitStepIndex": "sample string 27", "BeforeCalcHitStepEndValue": 28.0, "RuleRelation": "sample string 29", "AfterCalcHitStepEndValue": 30.0, "DivideValue": 31.0, "AllDivideValueSummary": 32.0, "AfterDivdeCalcShopNeedReceive": 33.0, "ShopNeedReceiveTotal": 34.0, "MonthDivideBase": 35.0, "RollingByDivideNotEnugh": "sample string 36", "RollingByDivideEnugh": "sample string 37" }, { "Details": [ { "ShopName": "sample string 1", "CalIndex": 2, "HitStepIndex": "sample string 3", "ThisTimeCalcSummary": 4.0, "HitStepEndValue": 5.0, "HitStepDivideRate": 6.0, "DivideCalValue": 7.0 }, { "ShopName": "sample string 1", "CalIndex": 2, "HitStepIndex": "sample string 3", "ThisTimeCalcSummary": 4.0, "HitStepEndValue": 5.0, "HitStepDivideRate": 6.0, "DivideCalValue": 7.0 } ], "ShopId": "sample string 1", "ShopName": "sample string 2", "BillNum": "sample string 3", "CalIndex": 4, "HappenDate": "sample string 5", "HappenTime": "sample string 6", "CalDate": "sample string 7", "CalTime": "sample string 8", "UserLoginName": "sample string 9", "YearCode": 10, "MonthCode": 64, "NeedReceiveSummary": 12.0, "FrontDirectAllowance": 13.0, "ReceivedSummary": 14.0, "GuiderRebateByPlatform": 15.0, "CustomerRebateByPlatform": 16.0, "GuiderRebateByShop": 17.0, "CustomerRebateByShop": 18.0, "NotJoinBaseCalSummary": 19.0, "JoinBaseCalSummary": 20.0, "BaseDivideCalValue": 21.0, "BaseDivideRate": 22.0, "BaseDivideRangeDesc": "sample string 23", "DivideRangeDesc": "sample string 24", "NotJoinCalcSummary": 25.0, "JoinCalcSummary": 26.0, "BeforeCalcHitStepIndex": "sample string 27", "BeforeCalcHitStepEndValue": 28.0, "RuleRelation": "sample string 29", "AfterCalcHitStepEndValue": 30.0, "DivideValue": 31.0, "AllDivideValueSummary": 32.0, "AfterDivdeCalcShopNeedReceive": 33.0, "ShopNeedReceiveTotal": 34.0, "MonthDivideBase": 35.0, "RollingByDivideNotEnugh": "sample string 36", "RollingByDivideEnugh": "sample string 37" } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfMiniUnPosShopCalResultqt7pY6vErCdCJ3eC 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> <hasMorePages>sample string 3</hasMorePages> <pageIndex>1</pageIndex> <pageSize>2</pageSize> <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Result.MiniprogarmApp"> <d3p1:MiniUnPosShopCalResult> <d3p1:AfterCalcHitStepEndValue>30</d3p1:AfterCalcHitStepEndValue> <d3p1:AfterDivdeCalcShopNeedReceive>33</d3p1:AfterDivdeCalcShopNeedReceive> <d3p1:AllDivideValueSummary>32</d3p1:AllDivideValueSummary> <d3p1:BaseDivideCalValue>21</d3p1:BaseDivideCalValue> <d3p1:BaseDivideRangeDesc>sample string 23</d3p1:BaseDivideRangeDesc> <d3p1:BaseDivideRate>22</d3p1:BaseDivideRate> <d3p1:BeforeCalcHitStepEndValue>28</d3p1:BeforeCalcHitStepEndValue> <d3p1:BeforeCalcHitStepIndex>sample string 27</d3p1:BeforeCalcHitStepIndex> <d3p1:BillNum>sample string 3</d3p1:BillNum> <d3p1:CalDate>sample string 7</d3p1:CalDate> <d3p1:CalIndex>4</d3p1:CalIndex> <d3p1:CalTime>sample string 8</d3p1:CalTime> <d3p1:CustomerRebateByPlatform>16</d3p1:CustomerRebateByPlatform> <d3p1:CustomerRebateByShop>18</d3p1:CustomerRebateByShop> <d3p1:Details> <d3p1:MiniUnPosShopCalDetailResult> <d3p1:CalIndex>2</d3p1:CalIndex> <d3p1:DivideCalValue>7</d3p1:DivideCalValue> <d3p1:HitStepDivideRate>6</d3p1:HitStepDivideRate> <d3p1:HitStepEndValue>5</d3p1:HitStepEndValue> <d3p1:HitStepIndex>sample string 3</d3p1:HitStepIndex> <d3p1:ShopName>sample string 1</d3p1:ShopName> <d3p1:ThisTimeCalcSummary>4</d3p1:ThisTimeCalcSummary> </d3p1:MiniUnPosShopCalDetailResult> <d3p1:MiniUnPosShopCalDetailResult> <d3p1:CalIndex>2</d3p1:CalIndex> <d3p1:DivideCalValue>7</d3p1:DivideCalValue> <d3p1:HitStepDivideRate>6</d3p1:HitStepDivideRate> <d3p1:HitStepEndValue>5</d3p1:HitStepEndValue> <d3p1:HitStepIndex>sample string 3</d3p1:HitStepIndex> <d3p1:ShopName>sample string 1</d3p1:ShopName> <d3p1:ThisTimeCalcSummary>4</d3p1:ThisTimeCalcSummary> </d3p1:MiniUnPosShopCalDetailResult> </d3p1:Details> <d3p1:DivideRangeDesc>sample string 24</d3p1:DivideRangeDesc> <d3p1:DivideValue>31</d3p1:DivideValue> <d3p1:FrontDirectAllowance>13</d3p1:FrontDirectAllowance> <d3p1:GuiderRebateByPlatform>15</d3p1:GuiderRebateByPlatform> <d3p1:GuiderRebateByShop>17</d3p1:GuiderRebateByShop> <d3p1:HappenDate>sample string 5</d3p1:HappenDate> <d3p1:HappenTime>sample string 6</d3p1:HappenTime> <d3p1:JoinBaseCalSummary>20</d3p1:JoinBaseCalSummary> <d3p1:JoinCalcSummary>26</d3p1:JoinCalcSummary> <d3p1:MonthCode>64</d3p1:MonthCode> <d3p1:MonthDivideBase>35</d3p1:MonthDivideBase> <d3p1:NeedReceiveSummary>12</d3p1:NeedReceiveSummary> <d3p1:NotJoinBaseCalSummary>19</d3p1:NotJoinBaseCalSummary> <d3p1:NotJoinCalcSummary>25</d3p1:NotJoinCalcSummary> <d3p1:ReceivedSummary>14</d3p1:ReceivedSummary> <d3p1:RollingByDivideEnugh>sample string 37</d3p1:RollingByDivideEnugh> <d3p1:RollingByDivideNotEnugh>sample string 36</d3p1:RollingByDivideNotEnugh> <d3p1:RuleRelation>sample string 29</d3p1:RuleRelation> <d3p1:ShopId>sample string 1</d3p1:ShopId> <d3p1:ShopName>sample string 2</d3p1:ShopName> <d3p1:ShopNeedReceiveTotal>34</d3p1:ShopNeedReceiveTotal> <d3p1:UserLoginName>sample string 9</d3p1:UserLoginName> <d3p1:YearCode>10</d3p1:YearCode> </d3p1:MiniUnPosShopCalResult> <d3p1:MiniUnPosShopCalResult> <d3p1:AfterCalcHitStepEndValue>30</d3p1:AfterCalcHitStepEndValue> <d3p1:AfterDivdeCalcShopNeedReceive>33</d3p1:AfterDivdeCalcShopNeedReceive> <d3p1:AllDivideValueSummary>32</d3p1:AllDivideValueSummary> <d3p1:BaseDivideCalValue>21</d3p1:BaseDivideCalValue> <d3p1:BaseDivideRangeDesc>sample string 23</d3p1:BaseDivideRangeDesc> <d3p1:BaseDivideRate>22</d3p1:BaseDivideRate> <d3p1:BeforeCalcHitStepEndValue>28</d3p1:BeforeCalcHitStepEndValue> <d3p1:BeforeCalcHitStepIndex>sample string 27</d3p1:BeforeCalcHitStepIndex> <d3p1:BillNum>sample string 3</d3p1:BillNum> <d3p1:CalDate>sample string 7</d3p1:CalDate> <d3p1:CalIndex>4</d3p1:CalIndex> <d3p1:CalTime>sample string 8</d3p1:CalTime> <d3p1:CustomerRebateByPlatform>16</d3p1:CustomerRebateByPlatform> <d3p1:CustomerRebateByShop>18</d3p1:CustomerRebateByShop> <d3p1:Details> <d3p1:MiniUnPosShopCalDetailResult> <d3p1:CalIndex>2</d3p1:CalIndex> <d3p1:DivideCalValue>7</d3p1:DivideCalValue> <d3p1:HitStepDivideRate>6</d3p1:HitStepDivideRate> <d3p1:HitStepEndValue>5</d3p1:HitStepEndValue> <d3p1:HitStepIndex>sample string 3</d3p1:HitStepIndex> <d3p1:ShopName>sample string 1</d3p1:ShopName> <d3p1:ThisTimeCalcSummary>4</d3p1:ThisTimeCalcSummary> </d3p1:MiniUnPosShopCalDetailResult> <d3p1:MiniUnPosShopCalDetailResult> <d3p1:CalIndex>2</d3p1:CalIndex> <d3p1:DivideCalValue>7</d3p1:DivideCalValue> <d3p1:HitStepDivideRate>6</d3p1:HitStepDivideRate> <d3p1:HitStepEndValue>5</d3p1:HitStepEndValue> <d3p1:HitStepIndex>sample string 3</d3p1:HitStepIndex> <d3p1:ShopName>sample string 1</d3p1:ShopName> <d3p1:ThisTimeCalcSummary>4</d3p1:ThisTimeCalcSummary> </d3p1:MiniUnPosShopCalDetailResult> </d3p1:Details> <d3p1:DivideRangeDesc>sample string 24</d3p1:DivideRangeDesc> <d3p1:DivideValue>31</d3p1:DivideValue> <d3p1:FrontDirectAllowance>13</d3p1:FrontDirectAllowance> <d3p1:GuiderRebateByPlatform>15</d3p1:GuiderRebateByPlatform> <d3p1:GuiderRebateByShop>17</d3p1:GuiderRebateByShop> <d3p1:HappenDate>sample string 5</d3p1:HappenDate> <d3p1:HappenTime>sample string 6</d3p1:HappenTime> <d3p1:JoinBaseCalSummary>20</d3p1:JoinBaseCalSummary> <d3p1:JoinCalcSummary>26</d3p1:JoinCalcSummary> <d3p1:MonthCode>64</d3p1:MonthCode> <d3p1:MonthDivideBase>35</d3p1:MonthDivideBase> <d3p1:NeedReceiveSummary>12</d3p1:NeedReceiveSummary> <d3p1:NotJoinBaseCalSummary>19</d3p1:NotJoinBaseCalSummary> <d3p1:NotJoinCalcSummary>25</d3p1:NotJoinCalcSummary> <d3p1:ReceivedSummary>14</d3p1:ReceivedSummary> <d3p1:RollingByDivideEnugh>sample string 37</d3p1:RollingByDivideEnugh> <d3p1:RollingByDivideNotEnugh>sample string 36</d3p1:RollingByDivideNotEnugh> <d3p1:RuleRelation>sample string 29</d3p1:RuleRelation> <d3p1:ShopId>sample string 1</d3p1:ShopId> <d3p1:ShopName>sample string 2</d3p1:ShopName> <d3p1:ShopNeedReceiveTotal>34</d3p1:ShopNeedReceiveTotal> <d3p1:UserLoginName>sample string 9</d3p1:UserLoginName> <d3p1:YearCode>10</d3p1:YearCode> </d3p1:MiniUnPosShopCalResult> </records> </tag> </CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfMiniUnPosShopCalResultqt7pY6vErCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.