POST api/Setting/JQ_ZZSB_CYP/Set

设置常用品的数量。

Request Information

URI Parameters

None.

Body Parameters

TvmConsumableSetParm
NameDescriptionTypeAdditional information
sbbm

@SBBM char(4),设备的编码

string

Required

Max length: 4

cyplx

@CPYLX char(1), 常用品类型 1纸票,2凭条,3碳带,4IC卡,5:10元找零纸币,6:5元找零纸币,7:1元找零纸币

string

Required

Max length: 1

Min length: 1

czlx

@CZLX char(1),A增加,D减少,S直接设置

string

Required

Max length: 1

Min length: 1

sl

@SL int ,数量

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "sbbm": "sample string 1",
  "cyplx": "sample string 2",
  "czlx": "sample string 3",
  "sl": 4
}

application/xml, text/xml

Sample:
<TvmConsumableSetParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm">
  <cyplx>sample string 2</cyplx>
  <czlx>sample string 3</czlx>
  <sbbm>sample string 1</sbbm>
  <sl>4</sl>
</TvmConsumableSetParm>

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

设置常用品的数量。

CommonOperationResultWithTagOfInt64
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": 3
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOflong 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>3</tag>
</CommonOperationResultWithTagOflong>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.