POST api/flight/flightPriceAdjuest/modify

編輯價格

Request Information

URI Parameters

None.

Body Parameters

FlightPriceAdjuestRqContract
NameDescriptionTypeAdditional information
platformSource

string

None.

routingKey

string

None.

currentPrice

decimal number

None.

updatePrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "platformSource": "sample string 1",
  "routingKey": "sample string 2",
  "currentPrice": 3.0,
  "updatePrice": 4.0
}

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 'FlightPriceAdjuestRqContract'.

Response Information

Resource Description

編輯價格

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

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