POST api/UnPos/Merchant/Shop/CalRule/BasePaymentTypes/T/Query/ById
依据商户ID、店铺ID、适用年份、适用月份,查询门店基础分成覆盖的收款方式,并以复杂类型返回。
Request Information
URI Parameters
None.
Body Parameters
查询所需要的参数
ShopCalRuleParm| Name | Description | Type | Additional information |
|---|---|---|---|
| MerchantId |
商户ID int FK,PK. |
integer |
Required |
| 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:
{
"MerchantId": 1,
"ShopId": "sample string 2",
"ApplyToYear": 3,
"ApplyToMonth": 64
}
application/xml, text/xml
Sample:
<ShopCalRuleParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <ApplyToMonth>64</ApplyToMonth> <ApplyToYear>3</ApplyToYear> <MerchantId>1</MerchantId> <ShopId>sample string 2</ShopId> </ShopCalRuleParm>
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、适用年份、适用月份,查询门店基础分成覆盖的收款方式,并以复杂类型返回。
CommonOperationResultWithTagOfT_UnPos_Shop_CalRule_BasePaymentTypesDataTable| Name | 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.