POST api/flight/b2b/agent/changeCredit

信用额度扣除/返還

Request Information

URI Parameters

None.

Body Parameters

CreditRQContract
NameDescriptionTypeAdditional information
agentId

integer

None.

orderId

string

None.

descript

string

None.

payType

Agent_PayType

None.

payCount

decimal number

None.

operUser

string

None.

type

Agent_Type

None.

refundLogId

integer

None.

isLimitCredit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "agentId": 1,
  "orderId": "sample string 2",
  "descript": "sample string 3",
  "payType": 0,
  "payCount": 4.0,
  "operUser": "sample string 5",
  "type": 0,
  "refundLogId": 1,
  "isLimitCredit": true
}

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

Response Information

Resource Description

信用额度扣除/返還

ReturnResult
NameDescriptionTypeAdditional information
code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

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