POST api/UnPos/Shop/Deduction/Update
修改T_UnPos_Shop_Deduction中记录
Request Information
URI Parameters
None.
Body Parameters
UnPos_Shop_DeductionUpdateParmName | Description | Type | Additional information |
---|---|---|---|
ORG_MerchantId |
修改前的商户ID |
integer |
Required |
ORG_ShopId |
修改前的门店的ID |
string |
Required Max length: 4 |
ORG_ItemName |
修改前的缴费/扣除项名 |
string |
Required Max length: 40 |
MerchantId |
商户ID |
integer |
Required |
ShopId |
门店的ID |
string |
Required Max length: 4 |
ItemName |
缴费/扣除项名 |
string |
Required Max length: 40 |
BaseDeductible |
基数 |
decimal number |
Required |
DefaultAmount |
默认计收数量 |
decimal number |
None. |
BaseUnit |
计收单位 |
string |
Max length: 20 |
CalculateCycle |
计缴周期 |
string |
Required Max length: 1 |
Reserve1 |
保留一 |
string |
Max length: 50 |
Reserve2 |
保留二 |
string |
Max length: 50 |
Request Formats
application/json, text/json
Sample:
{ "ORG_MerchantId": 1, "ORG_ShopId": "sample string 2", "ORG_ItemName": "sample string 3", "MerchantId": 4, "ShopId": "sample string 5", "ItemName": "sample string 6", "BaseDeductible": 7.0, "DefaultAmount": 1.0, "BaseUnit": "sample string 8", "CalculateCycle": "sample string 9", "Reserve1": "sample string 10", "Reserve2": "sample string 11" }
application/xml, text/xml
Sample:
<UnPos_Shop_DeductionUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.UnPos"> <BaseDeductible>7</BaseDeductible> <BaseUnit>sample string 8</BaseUnit> <CalculateCycle>sample string 9</CalculateCycle> <DefaultAmount>1</DefaultAmount> <ItemName>sample string 6</ItemName> <MerchantId>4</MerchantId> <Reserve1>sample string 10</Reserve1> <Reserve2>sample string 11</Reserve2> <ShopId>sample string 5</ShopId> <ORG_ItemName>sample string 3</ORG_ItemName> <ORG_MerchantId>1</ORG_MerchantId> <ORG_ShopId>sample string 2</ORG_ShopId> </UnPos_Shop_DeductionUpdateParm>
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
修改T_UnPos_Shop_Deduction中记录
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult 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>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.