POST api/wifibb/query/AvailableGoods

查询可用产品

Request Information

URI Parameters

None.

Body Parameters

ProductQueryReqContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

destioncode

目的地code

string

None.

qty

数量

integer

None.

fromdate

开始日期

date

None.

enddate

结束日期

date

None.

ProductId

产品id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "lang": "sample string 1",
  "destioncode": "sample string 2",
  "qty": 3,
  "fromdate": "2024-12-23T19:32:58.8575838+08:00",
  "enddate": "2024-12-23T19:32:58.8575838+08:00",
  "ProductId": 6
}

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

Response Information

Resource Description

查询可用产品

ReturnResultOfProductQueryRespContract
NameDescriptionTypeAdditional information
data

ProductQueryRespContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "destion": "sample string 1",
    "qty": 2,
    "fromdate": "2024-12-23T19:32:58.8575838+08:00",
    "enddate": "2024-12-23T19:32:58.8575838+08:00",
    "productid": 5,
    "truedays": 6,
    "paydays": 7,
    "totaldepositamt": 8.0,
    "producttotal": 9.0,
    "orgproducttotal": 10.0,
    "markuppercent": 11.0,
    "qguid": "sample string 12"
  },
  "code": 1,
  "message": "sample string 2"
}