POST Api/Service/Monitor/AddInquirie
添加路由历史查询信息记录
Request Information
URI Parameters
None.
Body Parameters
数据模型
SpeedPower.Utility.Models.Service.Monitors.Service.AddInquirieModelName | Description | Type | Additional information |
---|---|---|---|
Departure |
出发地 |
string |
Required String length: inclusive between 0 and 3 |
Arrival |
到达地 |
string |
Required String length: inclusive between 0 and 3 |
NodeType |
历史来源类型 |
SpeedPower.Utility.Models.Untility.Datas.Enums.InquirieNodeType |
None. |
DataSource |
来源标识 |
string |
Required String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{ "Departure": "sample string 1", "Arrival": "sample string 2", "NodeType": 0, "DataSource": "sample string 3" }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Departure" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Arrival" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NodeType" Query --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DataSource" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
添加路由历史查询信息记录
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Succeed" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--