POST api/Setting/JQ_ZZSB/LOG/Add
写入一个自助设备的使用日志。
Request Information
URI Parameters
None.
Body Parameters
日志内容
TvmDeviceLogSetParmName | Description | Type | Additional information |
---|---|---|---|
sbbm |
设备编码 |
string |
Required Max length: 4 |
lx |
类型,1消息,2警告,3错误。 |
string |
Required Max length: 1 Min length: 1 |
nn |
日志内容,至多200个汉字。 |
string |
Required Max length: 200 |
ywdh |
业务单据单号。此值不为空时,表示当前日志是自助机某次业务办理的日志。 一般为售票单号。 为空时,表示没有办理业务或业务办理过程中,还没有取得单据号时的日志。 |
string |
Max length: 20 |
Request Formats
application/json, text/json
Sample:
{ "sbbm": "sample string 1", "lx": "sample string 2", "nn": "sample string 3", "ywdh": "sample string 4" }
application/xml, text/xml
Sample:
<TvmDeviceLogSetParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <lx>sample string 2</lx> <nn>sample string 3</nn> <sbbm>sample string 1</sbbm> <ywdh>sample string 4</ywdh> </TvmDeviceLogSetParm>
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
写入一个自助设备的使用日志。
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.