POST api/UnPos/Shop/CodeCardTable/T/Modify
修改一个店内桌台码牌的信息。
Request Information
URI Parameters
None.
Body Parameters
ShopCodeCardTableModifyParmsName | Description | Type | Additional information |
---|---|---|---|
MerchantId |
商户ID MerchantId Int FK, NN |
integer |
Required |
ShopId |
门店ID ShopId Char(4) FK,NN |
string |
Required Max length: 4 |
CardId |
码牌ID CardId Char(8) PK 由单据号码创建的存储过程产生,唯一号,编码规则P2307001(前四位为YYMM,后面3位为流水号)。P是固定字符。 |
string |
Required Max length: 8 |
CardStatus |
状态 CardStatus Char(1) NN 1启用,0停用。 |
string |
Required Max length: 1 |
CardName |
码牌名 CardName Varchar(40) NN 由用户输入的码牌的名称,示例:烧饼广场外摆码 |
string |
Required Max length: 40 |
TemplateName |
入口模板名称 TemplateName Varchar(40) NN |
string |
Required Max length: 40 |
LastUpdUserLoginName |
最后一次修改用户 LastUpdUserLoginName string NN |
string |
Required |
LastUpdTime |
最后一次修改时间 LastUpdTime Datetime NN |
date |
Required |
Request Formats
application/json, text/json
Sample:
{ "MerchantId": 1, "ShopId": "sample string 2", "CardId": "sample string 3", "CardStatus": "sample string 4", "CardName": "sample string 5", "TemplateName": "sample string 6", "LastUpdUserLoginName": "sample string 7", "LastUpdTime": "2025-01-22T01:43:50.8339445+08:00" }
application/xml, text/xml
Sample:
<ShopCodeCardTableModifyParms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <CardId>sample string 3</CardId> <CardName>sample string 5</CardName> <CardStatus>sample string 4</CardStatus> <LastUpdTime>2025-01-22T01:43:50.8339445+08:00</LastUpdTime> <LastUpdUserLoginName>sample string 7</LastUpdUserLoginName> <MerchantId>1</MerchantId> <ShopId>sample string 2</ShopId> <TemplateName>sample string 6</TemplateName> </ShopCodeCardTableModifyParms>
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
修改一个店内桌台码牌的信息。
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.