POST Api/Service/Crawl/DeleteCrawlData

删除抓取数据

Request Information

URI Parameters

None.

Body Parameters

CrawlDelete模型

SpeedPower.Utility.Models.Service.Crawls.Service.CrawlDelete
NameDescriptionTypeAdditional information
Departure

出发地

string

Required

String length: inclusive between 3 and 3

Arrival

到达地

string

Required

String length: inclusive between 3 and 3

DepartureDate

出发日期时间

string

Required

Data type: Date

ProviderCode

数据源代码

string

Required

String length: inclusive between 1 and 20

MarkToFailed

只标记为失败状态(运价直连适用)

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Departure": "sample string 1",
  "Arrival": "sample string 2",
  "DepartureDate": "sample string 3",
  "ProviderCode": "sample string 4",
  "MarkToFailed": true
}

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="DepartureDate"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ProviderCode"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MarkToFailed"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

删除抓取数据

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional 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--