POST api/UnPos/Shop/CodeCardPublic/T/Modify
修改一个公共桌台码牌的信息。
Request Information
URI Parameters
None.
Body Parameters
ShopCodeCardPublicModifyParmsName | Description | Type | Additional information |
---|---|---|---|
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:
{ "CardId": "sample string 1", "CardStatus": "sample string 2", "CardName": "sample string 3", "TemplateName": "sample string 4", "LastUpdUserLoginName": "sample string 5", "LastUpdTime": "2025-01-22T02:02:45.4872106+08:00" }
application/xml, text/xml
Sample:
<ShopCodeCardPublicModifyParms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <CardId>sample string 1</CardId> <CardName>sample string 3</CardName> <CardStatus>sample string 2</CardStatus> <LastUpdTime>2025-01-22T02:02:45.4872106+08:00</LastUpdTime> <LastUpdUserLoginName>sample string 5</LastUpdUserLoginName> <TemplateName>sample string 4</TemplateName> </ShopCodeCardPublicModifyParms>
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.