POST api/AutoSell/LOG/Add
写入一个自助售票的错误日志。 这个调用不需要进行签权。
Request Information
URI Parameters
None.
Body Parameters
日志内容。
AutoSellLogParmName | Description | Type | Additional information |
---|---|---|---|
deviceid |
设备编码 |
string |
Required Max length: 4 |
eventtype |
日志类型,1消息,2警告,3错误。 |
string |
Required Max length: 1 |
content |
内容。 |
string |
Required Max length: 50 |
businessnum | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "deviceid": "sample string 1", "eventtype": "sample string 2", "content": "sample string 3", "businessnum": "sample string 4" }
application/xml, text/xml
Sample:
<AutoSellLogParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.AutoSell"> <businessnum>sample string 4</businessnum> <content>sample string 3</content> <deviceid>sample string 1</deviceid> <eventtype>sample string 2</eventtype> </AutoSellLogParm>
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.