POST api/UnPos/Merchant/Shop/CalRule/V/Query/ById
依据商户ID、店铺ID、适用年份、适用月份,查询单个的核算规则信息,并以复杂类型返回。
Request Information
URI Parameters
None.
Body Parameters
查询单个的核算规则所需要的参数
MerchantShopCalRuleParmName | Description | Type | Additional information |
---|---|---|---|
ShopId |
店铺ID char(4) PK NOT NULL. |
string |
Required Max length: 4 |
ApplyToYear |
适用年度 int PK. |
integer |
Required |
ApplyToMonth |
适用月份 tinyint PK. |
byte |
Required |
Request Formats
application/json, text/json
Sample:
{ "ShopId": "sample string 1", "ApplyToYear": 2, "ApplyToMonth": 64 }
application/xml, text/xml
Sample:
<MerchantShopCalRuleParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <ApplyToMonth>64</ApplyToMonth> <ApplyToYear>2</ApplyToYear> <ShopId>sample string 1</ShopId> </MerchantShopCalRuleParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
依据商户ID、店铺ID、适用年份、适用月份,查询单个的核算规则信息,并以复杂类型返回。
CommonOperationResultWithTagOfV_UnPos_Shop_CalRuleDataTableName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": null }
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.