POST api/flight/verify/preventmalicious/{vdate}/{vcount}

验证 恶意下单

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vdate

integer

Required

vcount

integer

Required

Body Parameters

PreventMaliciousContract
NameDescriptionTypeAdditional information
PreventMaliciousPas

Collection of PreventMaliciousPasContract

None.

PreventMaliciousSeg

Collection of PreventMaliciousSegContract

None.

Request Formats

application/json, text/json

Sample:
{
  "PreventMaliciousPas": [
    {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "DocNo": "sample string 3"
    },
    {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "DocNo": "sample string 3"
    }
  ],
  "PreventMaliciousSeg": [
    {
      "CarrierCode": "sample string 1",
      "FlightNumber": "sample string 2",
      "DocNo": "sample string 3",
      "SeqNo": 4
    },
    {
      "CarrierCode": "sample string 1",
      "FlightNumber": "sample string 2",
      "DocNo": "sample string 3",
      "SeqNo": 4
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PreventMaliciousContract'.

Response Information

Resource Description

验证 恶意下单

ReturnResultOfInt32
NameDescriptionTypeAdditional information
data

integer

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": 1,
  "code": 2,
  "message": "sample string 3"
}